mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
csv import of accounts: fix behavior for new accounts, after fix in rev.32588
This commit is contained in:
parent
f9b1dee802
commit
15308e3d17
@ -179,9 +179,8 @@ class admin_import_users_csv implements importexport_iface_import_plugin {
|
||||
case 'enable':
|
||||
$_data['account_expires'] = $_action == 'disable' ? 'already' : '';
|
||||
case 'create' :
|
||||
$newaccount=true;
|
||||
case 'update' :
|
||||
$command = new admin_cmd_edit_user(($newaccount?null:$_data['account_lid']), $_data);
|
||||
$command = new admin_cmd_edit_user(($_action=='create'?null:$_data['account_lid']), $_data);
|
||||
if($this->dry_run) {
|
||||
$this->results[$_action]++;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user