From 341d218664686fd0c175f737eac6c4d7fc61bb98 Mon Sep 17 00:00:00 2001 From: jengo Date: Wed, 27 Sep 2000 08:18:40 +0000 Subject: [PATCH] Fixed a sql error in preferences table --- admin/deleteaccount.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/deleteaccount.php b/admin/deleteaccount.php index a475238e60..64af4d3c94 100755 --- a/admin/deleteaccount.php +++ b/admin/deleteaccount.php @@ -79,12 +79,13 @@ $phpgw->db->query("delete from webcal_entry where cal_create_by='$lid'"); $phpgw->db->query("delete from webcal_entry_user where cal_login='$lid'"); - $phpgw->db->query("delete from preferences where owner='$lid'"); $phpgw->db->query("delete from todo where todo_owner='$lid'"); $phpgw->db->query("delete from addressbook where ab_owner='$lid'"); $phpgw->db->query("delete from accounts where account_lid='$lid'"); //$phpgw->db->query("delete from users_headlines where owner='$lid'"); //$phpgw->db->query("delete from profiles where owner='$lid'"); + + $phpgw->common->preferences_delete("all",$lid); $phpgw->db->unlock();