From f162a41fbbc17c4a8ae578dc92a3ccd9ba89b21c Mon Sep 17 00:00:00 2001 From: jengo Date: Fri, 5 Oct 2001 03:16:11 +0000 Subject: [PATCH] Default preferences are now working durring account creation --- admin/inc/class.boaccounts.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/inc/class.boaccounts.inc.php b/admin/inc/class.boaccounts.inc.php index 34951ab8fe..20eceb2f43 100755 --- a/admin/inc/class.boaccounts.inc.php +++ b/admin/inc/class.boaccounts.inc.php @@ -363,7 +363,7 @@ } } - if ($apps_after) +/* if ($apps_after) { $GLOBALS['pref'] = CreateObject('phpgwapi.preferences',$userData['account_id']); $GLOBALS['phpgw']->common->hook_single('add_def_pref','admin'); @@ -375,10 +375,10 @@ } } $GLOBALS['pref']->save_repository(False); - } + } */ - $apps->account_apps = Array(Array()); - $apps_after = Array(Array()); + $apps->account_apps = array(array()); + $apps_after = array(array()); $GLOBALS['phpgw']->db->unlock();