From 4da6b1b515043d830acf6ba4a260b51c251f5507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 16 May 2022 09:28:15 +0200 Subject: [PATCH] Properly import maintenance script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index 21889272dd7d8..66e57459a91d0 100644 --- a/lib/base.php +++ b/lib/base.php @@ -297,8 +297,8 @@ public static function checkMaintenanceMode(\OC\SystemConfig $systemConfig) { // 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(); }