forked from extern/egroupware
* Api: Fix missing translation when deleting an account
This commit is contained in:
parent
7462bd0177
commit
55c90c880c
@ -292,6 +292,7 @@ class admin_account
|
|||||||
*/
|
*/
|
||||||
public static function delete(array $content=null)
|
public static function delete(array $content=null)
|
||||||
{
|
{
|
||||||
|
Api\Translation::add_app('admin');
|
||||||
if (!is_array($content))
|
if (!is_array($content))
|
||||||
{
|
{
|
||||||
if (isset($_GET['contact_id']) && ($account_id = $GLOBALS['egw']->accounts->name2id((int)$_GET['contact_id'], 'person_id')))
|
if (isset($_GET['contact_id']) && ($account_id = $GLOBALS['egw']->accounts->name2id((int)$_GET['contact_id'], 'person_id')))
|
||||||
|
Loading…
Reference in New Issue
Block a user