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:
Diffstat (limited to 'public.php')
-rw-r--r--public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/public.php b/public.php
index b7125502ee8..964ed03c1aa 100644
--- a/public.php
+++ b/public.php
@@ -35,9 +35,9 @@ try {
exit;
}
- $request = \OC::$server->getRequest();
- OC::checkMaintenanceMode($request);
+ OC::checkMaintenanceMode();
OC::checkSingleUserMode(true);
+ $request = \OC::$server->getRequest();
$pathInfo = $request->getPathInfo();
if (!$pathInfo && $request->getParam('service', '') === '') {