Admin: Remove refresh, push will handle it

This commit is contained in:
nathan 2022-11-14 13:17:04 -07:00
parent 0f02b84b41
commit 7f39156c89

View File

@ -236,8 +236,6 @@ class admin_account
)+(array)$content['admin_cmd']); )+(array)$content['admin_cmd']);
$cmd->run(); $cmd->run();
Api\Json\Response::get()->call('egw.refresh', '', 'admin', $cmd->account, $content['account_id'] ? 'edit' : 'add');
$addressbook_bo = new Api\Contacts(); $addressbook_bo = new Api\Contacts();
if (!($content['id'] = Api\Accounts::id2name($cmd->account, 'person_id')) || if (!($content['id'] = Api\Accounts::id2name($cmd->account, 'person_id')) ||
!($contact = $addressbook_bo->read($content['id']))) !($contact = $addressbook_bo->read($content['id'])))