diff options
author | friendica <info@friendica.com> | 2013-12-22 18:37:39 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-22 18:37:39 -0800 |
commit | 1a42580ad44f768ba8d4eb0669f3b8be03670e04 (patch) | |
tree | e40948063cea08c8c0ea4ece8efbcc6bef6464d8 /include/Contact.php | |
parent | eff38538eeaa3af0774c77d26c5b00dd79cb9e8c (diff) | |
download | volse-hubzilla-1a42580ad44f768ba8d4eb0669f3b8be03670e04.tar.gz volse-hubzilla-1a42580ad44f768ba8d4eb0669f3b8be03670e04.tar.bz2 volse-hubzilla-1a42580ad44f768ba8d4eb0669f3b8be03670e04.zip |
remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code.
Diffstat (limited to 'include/Contact.php')
-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 59605e463..fd450033c 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -255,7 +255,7 @@ function channel_remove($channel_id, $local = true) { } - q("DELETE FROM `group` WHERE `uid` = %d", intval($channel_id)); + q("DELETE FROM `groups` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `group_member` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `event` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `item` WHERE `uid` = %d", intval($channel_id)); |