mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Admin - Changes for edit group to only log changed fields
This commit is contained in:
parent
1cbc5779f0
commit
bfdc1ca966
@ -56,14 +56,11 @@ class admin_cmd_edit_group extends admin_cmd
|
||||
{
|
||||
$data['account_id'] = admin_cmd::parse_account($this->account,false);
|
||||
}
|
||||
else
|
||||
{
|
||||
$data += array(
|
||||
'account_type' => 'g',
|
||||
'account_status' => 'A', // not used, but so we do the same thing as the web-interface
|
||||
'account_expires' => -1,
|
||||
);
|
||||
}
|
||||
$data += array(
|
||||
'account_type' => 'g',
|
||||
'account_status' => 'A', // not used, but so we do the same thing as the web-interface
|
||||
'account_expires' => -1,
|
||||
);
|
||||
if (!$data['account_lid'] && (!$this->account || !is_null($data['account_lid'])))
|
||||
{
|
||||
throw new Api\Exception\WrongUserinput(lang('You must enter a group name.'),9);
|
||||
|
Loading…
Reference in New Issue
Block a user