diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-06-13 13:34:04 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-06-13 13:34:04 +0200 |
commit | 801ab611ede45921d1d6869fa65fc3fbf941d666 (patch) | |
tree | 9b1f8f24dbd525bd99152a8f58f4e2a384f63ba7 /Zotlabs/Module/Channel_calendar.php | |
parent | bc34167c8490c2dad5fcd6553b27b5df54449c39 (diff) | |
download | volse-hubzilla-801ab611ede45921d1d6869fa65fc3fbf941d666.tar.gz volse-hubzilla-801ab611ede45921d1d6869fa65fc3fbf941d666.tar.bz2 volse-hubzilla-801ab611ede45921d1d6869fa65fc3fbf941d666.zip |
more work on linked item/resource deletion for photos and events, deprecate the force flag in drop_item() and comment out goaway() in drop_item().
Diffstat (limited to 'Zotlabs/Module/Channel_calendar.php')
-rw-r--r-- | Zotlabs/Module/Channel_calendar.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Zotlabs/Module/Channel_calendar.php b/Zotlabs/Module/Channel_calendar.php index fcb3ca58b..ac08dfa96 100644 --- a/Zotlabs/Module/Channel_calendar.php +++ b/Zotlabs/Module/Channel_calendar.php @@ -455,11 +455,6 @@ class Channel_calendar extends \Zotlabs\Web\Controller { if($can_delete || $local_delete) { - q("update item set resource_type = '', resource_id = '' where resource_type = 'event' and resource_id = '%s' and uid = %d", - dbesc($event_id), - intval(local_channel()) - ); - // if this is a different page type or it's just a local delete // but not by the item author or owner, do a simple deletion |