added admin user to the default group too, to give him all the "normal" apps

This commit is contained in:
Ralf Becker 2004-02-06 07:24:13 +00:00
parent f18b38e74e
commit e1e715168a

View File

@ -147,6 +147,7 @@
/* Create records for administrator account, with Admins as primary and Default as additional group */
$accountid = $GLOBALS['phpgw_setup']->add_account($username,$fname,$lname,$passwd,'Admins',True);
$GLOBALS['phpgw_setup']->add_acl('phpgw_group',$admingroupid,$accountid);
$GLOBALS['phpgw_setup']->add_acl('phpgw_group',$defaultgroupid,$accountid);
/* Clear the access log, since these are all new users anyway */
$GLOBALS['phpgw_setup']->db->query('DELETE FROM phpgw_access_log');