This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-04-28 08:11:19 -04:00
parent 9257e533c2
commit 5958575c5a

View File

@@ -30,11 +30,11 @@ class ControlUnderUpdating implements iAuthenticate
$sysTemp = $underUpdating['workspace'] == SYS_TEMP; $sysTemp = $underUpdating['workspace'] == SYS_TEMP;
} }
if ($underUpdating['workspace'] == "true" || $sysTemp) { if ($underUpdating['workspace'] == "true" || $sysTemp) {
$mesage = 'The server is currently unable to handle the request ' $message = 'The server is currently unable to handle the request '
. 'due to a temporary overloading or maintenance of the ' . 'due to a temporary overloading or maintenance of the '
. 'server (An application update has probably been ' . 'server (An application update has probably been '
. 'performed on the server).'; . 'performed on the server).';
throw new RestException(503, $mesage); throw new RestException(503, $message);
} }
} }
return $response; return $response;