diff options
-rw-r--r-- | include/channel.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/channel.php b/include/channel.php index 6a934cb82..22cdb9fe7 100644 --- a/include/channel.php +++ b/include/channel.php @@ -2602,8 +2602,6 @@ function channel_remove($channel_id, $local = true, $unset_session = false) { } } - - $r = q("select id from item where uid = %d", intval($channel_id)); if($r) { foreach($r as $rv) { @@ -2611,7 +2609,6 @@ function channel_remove($channel_id, $local = true, $unset_session = false) { } } - q("delete from abook where abook_xchan = '%s' and abook_self = 1 ", dbesc($channel['channel_hash']) ); |