backport: to ease upgrade, as hook is removed

This commit is contained in:
Klaus Leithoff 2014-09-26 08:24:57 +00:00
parent 98b0578314
commit 338c625180

View File

@ -746,6 +746,7 @@ class mail_hooks
{ {
if (substr($name, 0, 5) != 'deny_') if (substr($name, 0, 5) != 'deny_')
{ {
if ($name == 'edit_user') return; // to ease upgrade, as hook is removed
throw new egw_exception_wrong_parameter("No method $name!"); throw new egw_exception_wrong_parameter("No method $name!");
} }
$accountsel = new uiaccountsel(); $accountsel = new uiaccountsel();