diff options
author | friendica <info@friendica.com> | 2012-04-12 05:15:45 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-12 05:15:45 -0700 |
commit | 5a78400f37a10943e26048917dab616b55c0cb13 (patch) | |
tree | 43cf2294f452053f50d759e1e3ebc3b3f95435f0 /include/Contact.php | |
parent | d52dad3826ebed717dc7a9d24ac670cdd33e16f8 (diff) | |
download | volse-hubzilla-5a78400f37a10943e26048917dab616b55c0cb13.tar.gz volse-hubzilla-5a78400f37a10943e26048917dab616b55c0cb13.tar.bz2 volse-hubzilla-5a78400f37a10943e26048917dab616b55c0cb13.zip |
table cleanup
Diffstat (limited to 'include/Contact.php')
-rw-r--r-- | include/Contact.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/Contact.php b/include/Contact.php index 532ea2f95..ee434cb6d 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -23,16 +23,24 @@ function user_remove($uid) { ); q("DELETE FROM `contact` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `gcign` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `group` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `group_member` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `intro` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `event` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `item` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `item_id` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `mail` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `mailacct` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `manage` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `notify` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `photo` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `attach` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `profile` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `profile_check` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `pconfig` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `search` WHERE `uid` = %d", intval($uid)); + q("DELETE FROM `spam` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `user` WHERE `uid` = %d", intval($uid)); if($uid == local_user()) { unset($_SESSION['authenticated']); |