From ee072955fe769b29778c063133c3bf809163646c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 1 Oct 2006 07:14:38 +0000 Subject: [PATCH] r1221: Finishing post_delete() --- includes/api_user.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/api_user.php b/includes/api_user.php index 56ac03a..4865bba 100644 --- a/includes/api_user.php +++ b/includes/api_user.php @@ -247,8 +247,6 @@ class UserAPI extends API /** * Post-delete * - * @todo Finish post-delete user data cleanup - * * @access protected */ function post_delete() @@ -257,6 +255,7 @@ class UserAPI extends API $this->registry->db->query("DELETE FROM " . TABLE_PREFIX . "favorite WHERE userid = " . $this->values['userid']); $this->registry->db->query("DELETE FROM " . TABLE_PREFIX . "useractivation WHERE userid = " . $this->values['userid']); $this->registry->db->query("DELETE FROM " . TABLE_PREFIX . "useremail WHERE userid = " . $this->values['userid']); + $this->registry->db->query("DELETE FROM " . TABLE_PREFIX . "search WHERE userid = " . $this->values['userid']); build_assignedto(); } -- 2.43.5