Moved save_rep for account down so we catch acl updates for ldap

This commit is contained in:
Miles Lott 2001-04-07 01:50:27 +00:00
parent e28ab89f39
commit abe6bfb5d7

View File

@ -83,7 +83,6 @@
{
$group->data['account_lid'] = $n_group;
}
$group->save_repository();
// Set group acl
$acl = CreateObject('phpgwapi.acl',$group_id);
@ -132,6 +131,9 @@
{
$pref->save_repository();
}
// This is down here so we are sure to catch the acl changes
// for LDAP to update the memberuid attribute
$group->save_repository();
}
if ($old_group_name <> $n_group)