From 4e1a2bc0482c5d25d8028fe4cb27e50071b66a9e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 22 May 2013 18:30:04 +0000 Subject: [PATCH] fixed typo causing admin account creation to fail, if "delete all users and acl" was checked --- setup/admin_account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/admin_account.php b/setup/admin_account.php index 3b0a0fe8fa..6e53479a17 100644 --- a/setup/admin_account.php +++ b/setup/admin_account.php @@ -101,7 +101,7 @@ else $GLOBALS['egw_setup']->db->delete($table,'1=1',__LINE__,__FILE__); } // keep default and forced prefs from installed apps - $GLOBALS['egw_setup']->db->delete($GLOBALS['egw_setup']->prefs_table,'preferences_owner NOT IN (-1,-2)',__LINE__,__FILE__); + $GLOBALS['egw_setup']->db->delete($GLOBALS['egw_setup']->prefs_table,'preference_owner NOT IN (-1,-2)',__LINE__,__FILE__); // remove accounts from addressbook $GLOBALS['egw_setup']->db->delete('egw_addressbook','account_id IS NOT NULL',__LINE__,__FILE__); }