From a9b8fb090cb75629764fdb0976fe53eb45978aad Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 5 Jul 2018 17:09:38 +0200 Subject: [PATCH] Fix remnants of refactoring Signed-off-by: Morris Jobke --- lib/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index 8ca4a371afbcd..628756cd217c7 100644 --- a/lib/base.php +++ b/lib/base.php @@ -261,7 +261,7 @@ public static function checkConfig() { [ $urlGenerator->linkToDocs('admin-dir_permissions') ]) . '. ' . $l->t('Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See %s', [ $urlGenerator->linkToDocs('admin-config') ] ), - \OC_Response::STATUS_SERVICE_UNAVAILABLE + 503 ); } } @@ -749,7 +749,7 @@ public static function init() { OC_Template::printErrorPage( $l->t('Sample configuration detected'), $l->t('It has been detected that the sample configuration has been copied. This can break your installation and is unsupported. Please read the documentation before performing changes on config.php'), - \OC_Response::STATUS_SERVICE_UNAVAILABLE + 503 ); return; }