diff options
-rw-r--r-- | Zotlabs/Daemon/Channel_purge.php | 2 | ||||
-rw-r--r-- | include/items.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Channel_purge.php b/Zotlabs/Daemon/Channel_purge.php index d25edf8ba..bb4fc3866 100644 --- a/Zotlabs/Daemon/Channel_purge.php +++ b/Zotlabs/Daemon/Channel_purge.php @@ -24,7 +24,7 @@ class Channel_purge { ); if ($r) { foreach ($r as $rv) { - drop_item($rv['id']); + drop_item($rv['id'], $channel_id); } } } while ($r); diff --git a/include/items.php b/include/items.php index 00c04700e..965c816c4 100644 --- a/include/items.php +++ b/include/items.php @@ -3922,7 +3922,7 @@ function drop_item($id, $stage = DROPITEM_NORMAL, $force = false, $uid = 0, $obs $ok_to_delete = true; } - // remote delete when nobody is authenticated (called from Libzot) + // remote delete when nobody is authenticated (called from Libzot and Daemons) if ($uid && intval($uid) === intval($item['uid'])) { $ok_to_delete = true; } |