using exception / exit code 92 for "Domain XXX does NOT exist !!!"

This commit is contained in:
Ralf Becker 2015-05-12 14:58:07 +00:00
parent c751cda84b
commit d469a15ab1

View File

@ -273,7 +273,7 @@ abstract class setup_cmd extends admin_cmd
$domains = $GLOBALS['egw_domain']; $domains = $GLOBALS['egw_domain'];
if ($domain) // domain to check given if ($domain) // domain to check given
{ {
if (!isset($GLOBALS['egw_domain'][$domain])) throw new egw_exception_wrong_userinput(lang("Domain '%1' does NOT exist !!!",$domain)); if (!isset($GLOBALS['egw_domain'][$domain])) throw new egw_exception_wrong_userinput(lang("Domain '%1' does NOT exist !!!",$domain), 92);
$domains = array($domain => $GLOBALS['egw_domain'][$domain]); $domains = array($domain => $GLOBALS['egw_domain'][$domain]);
} }