Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-05 18:09:38 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-07-05 18:09:38 +0300
commita9b8fb090cb75629764fdb0976fe53eb45978aad (patch)
treed9191ea39670d8bd5a90ad1af0c410da548d9256 /lib/base.php
parentcbfcfb236f3e8ace6c64ab5a654b9a331a3ce1c0 (diff)
Fix remnants of refactoring
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 8ca4a371afb..628756cd217 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -261,7 +261,7 @@ class OC {
[ $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 @@ class OC {
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;
}