mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
chore: oops one
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
599ba3d3b9
commit
ffd6b466fe
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ try {
|
|||
$baseuri = OC::$WEBROOT . '/public.php/' . $service . '/';
|
||||
require_once $file;
|
||||
} catch (Exception $ex) {
|
||||
if ($ex instanceof ServiceUnavailableException && $ex->getCode === 0) {
|
||||
if ($ex instanceof ServiceUnavailableException && $ex->getCode() === 0) {
|
||||
$status = 503;
|
||||
}
|
||||
if ($ex->getCode() > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue