]> source.dussan.org Git - nextcloud-server.git/commitdiff
Properly import maintenance script 32802/head
authorJulius Härtl <jus@bitgrid.net>
Mon, 16 May 2022 07:28:15 +0000 (09:28 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 9 Jun 2022 23:29:47 +0000 (23:29 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/base.php

index 21889272dd7d8c72f637b25fa198279445c2a4cc..66e57459a91d0178746ca2a9e8abb0f0b0350018 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();
                }