forked from extern/egroupware
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);
|
$data['account_id'] = admin_cmd::parse_account($this->account,false);
|
||||||
}
|
}
|
||||||
else
|
$data += array(
|
||||||
{
|
'account_type' => 'g',
|
||||||
$data += array(
|
'account_status' => 'A', // not used, but so we do the same thing as the web-interface
|
||||||
'account_type' => 'g',
|
'account_expires' => -1,
|
||||||
'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'])))
|
if (!$data['account_lid'] && (!$this->account || !is_null($data['account_lid'])))
|
||||||
{
|
{
|
||||||
throw new Api\Exception\WrongUserinput(lang('You must enter a group name.'),9);
|
throw new Api\Exception\WrongUserinput(lang('You must enter a group name.'),9);
|
||||||
|
Loading…
Reference in New Issue
Block a user