Default preferences are now working durring account creation

This commit is contained in:
jengo 2001-10-05 03:16:11 +00:00
parent 68ae85eb5f
commit f162a41fbb

View File

@ -363,7 +363,7 @@
} }
} }
if ($apps_after) /* if ($apps_after)
{ {
$GLOBALS['pref'] = CreateObject('phpgwapi.preferences',$userData['account_id']); $GLOBALS['pref'] = CreateObject('phpgwapi.preferences',$userData['account_id']);
$GLOBALS['phpgw']->common->hook_single('add_def_pref','admin'); $GLOBALS['phpgw']->common->hook_single('add_def_pref','admin');
@ -375,10 +375,10 @@
} }
} }
$GLOBALS['pref']->save_repository(False); $GLOBALS['pref']->save_repository(False);
} } */
$apps->account_apps = Array(Array()); $apps->account_apps = array(array());
$apps_after = Array(Array()); $apps_after = array(array());
$GLOBALS['phpgw']->db->unlock(); $GLOBALS['phpgw']->db->unlock();