mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:56 +01:00
fix dry-run is not counting updated or created users
This commit is contained in:
parent
0e3eb70fae
commit
be09fe7354
@ -300,6 +300,7 @@ class Import
|
||||
if ($dry_run)
|
||||
{
|
||||
$this->logger("Dry-run: would created user '$account[account_lid]' (#$account[account_id])", 'detail');
|
||||
$new = true;
|
||||
}
|
||||
elseif (($account_id = $sql_account['account_id'] = $this->accounts_sql->save($sql_account, true)) > 0)
|
||||
{
|
||||
@ -351,6 +352,7 @@ class Import
|
||||
{
|
||||
$this->logger("Dry-run: would updated user '$account[account_lid]' (#$account_id): " .
|
||||
json_encode($diff, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES), 'detail');
|
||||
$new = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user