forked from extern/egroupware
Add default firstname and lastname for groups
This commit is contained in:
parent
e2f8d96a81
commit
e8c916b450
@ -50,8 +50,8 @@
|
||||
if(!$phpgw->db->num_rows()) { break; }
|
||||
}
|
||||
|
||||
$phpgw->db->query("INSERT INTO phpgw_accounts(account_id,account_lid,account_type) "
|
||||
."VALUES($group_id,'$n_group','g')");
|
||||
$phpgw->db->query("INSERT INTO phpgw_accounts(account_id,account_lid,account_type,account_firstname,account_lastname) "
|
||||
."VALUES($group_id,'$n_group','g','$n_group','Group')");
|
||||
|
||||
$apps = CreateObject('phpgwapi.applications',intval($group_id));
|
||||
$apps->update_data(Array());
|
||||
|
Loading…
Reference in New Issue
Block a user