summaryrefslogtreecommitdiffstats
path: root/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'public.php')
-rw-r--r--public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public.php b/public.php
index 2bcf8cf1b4a..b8701c0c0f2 100644
--- a/public.php
+++ b/public.php
@@ -42,7 +42,7 @@ try {
exit;
}
- OC::checkMaintenanceMode();
+ OC::checkMaintenanceMode(\OC::$server->get(\OC\SystemConfig::class));
$request = \OC::$server->getRequest();
$pathInfo = $request->getPathInfo();