diff options
author | RedMatrix <info@friendica.com> | 2014-04-06 20:54:37 +1000 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-04-06 20:54:37 +1000 |
commit | 2a13a9b20aad16e1f16a58d68fdba4ff0e306008 (patch) | |
tree | 6b3ce874d496f24e21d31f9a1b87d30908fc9dbc /include | |
parent | 64dfe3ab64a7f39c2c88d141a7d8a8b9d60756ff (diff) | |
parent | 6d170b2e07f9da8cb67cf0ac4e801b562735e8ae (diff) | |
download | volse-hubzilla-2a13a9b20aad16e1f16a58d68fdba4ff0e306008.tar.gz volse-hubzilla-2a13a9b20aad16e1f16a58d68fdba4ff0e306008.tar.bz2 volse-hubzilla-2a13a9b20aad16e1f16a58d68fdba4ff0e306008.zip |
Merge pull request #397 from sasiflo/master
Try to repair of channel administration
Diffstat (limited to 'include')
-rw-r--r-- | include/Contact.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php index 9883c598d..540e1169d 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -263,7 +263,7 @@ function channel_remove($channel_id, $local = true) { q("DELETE FROM `event` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `item` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `item_id` WHERE `uid` = %d", intval($channel_id)); - q("DELETE FROM `mail` WHERE `uid` = %d", intval($channel_id)); + q("DELETE FROM `mail` WHERE `channel_id` = %d", intval($channel_id)); q("DELETE FROM `notify` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `photo` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `attach` WHERE `uid` = %d", intval($channel_id)); |