]> source.dussan.org Git - nextcloud-server.git/commitdiff
Properly import maintenance script 32412/head
authorJulius Härtl <jus@bitgrid.net>
Mon, 16 May 2022 07:28:15 +0000 (09:28 +0200)
committerJulius Härtl <jus@bitgrid.net>
Mon, 16 May 2022 07:28:15 +0000 (09:28 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/base.php

index 8cf5360b084c29b0d4c41253190f5350e44cf448..377644c70a2e1636395255438398851a7e04cd24 100644 (file)
@@ -297,8 +297,8 @@ class OC {
 
                        // render error page
                        $template = new OC_Template('', 'update.user', 'guest');
-                       OC_Util::addScript('maintenance');
-                       OC_Util::addStyle('core', 'guest');
+                       \OCP\Util::addScript('core', 'maintenance');
+                       \OCP\Util::addStyle('core', 'guest');
                        $template->printPage();
                        die();
                }