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

This commit is contained in:
Ralf Becker 2015-05-12 14:57:29 +00:00
parent 8f20e57599
commit e3bfbeeee9

View File

@ -273,7 +273,7 @@ abstract class setup_cmd extends admin_cmd
$domains = $GLOBALS['egw_domain'];
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]);
}