diff --git a/webui/model/user/user.php b/webui/model/user/user.php index 18d6d9c..8e507a5 100644 --- a/webui/model/user/user.php +++ b/webui/model/user/user.php @@ -557,6 +557,9 @@ $query = $this->db->query("DELETE FROM " . TABLE_EMAIL . " WHERE uid=?", array((int)$uid)); $query = $this->db->query("DELETE FROM " . TABLE_USER . " WHERE uid=?", array((int)$uid)); + $query = $this->db->query("DELETE FROM " . TABLE_USER_SETTINGS . " WHERE username IN (SELECT username FROM " . TABLE_USER . " WHERE uid=?)", array((int)$uid)); + $query = $this->db->query("DELETE FROM " . TABLE_DOMAIN_USER . " WHERE uid=?", array((int)$uid)); + $query = $this->db->query("DELETE FROM " . TABLE_FOLDER_USER . " WHERE uid=?", array((int)$uid)); LOGGER("remove user: uid=$uid");