Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Admin): update only internal systemAccounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed Apr 28, 2022
1 parent e612f1b commit 1a0cb48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tine20/Admin/Controller/EmailAccount.php
Expand Up @@ -237,7 +237,9 @@ protected function _inspectBeforeUpdate($_record, $_oldRecord)
$user->accountEmailAddress = $_record->email;
Admin_Controller_User::getInstance()->update($user);
}
$this->updateAccountEmailUsers($_record);
if($_record->type !== Felamimail_Model_Account::TYPE_USER) {
$this->updateAccountEmailUsers($_record);
}
}

/**
Expand Down

0 comments on commit 1a0cb48

Please sign in to comment.