From d3acf8203d07d646c3ee39721903a3f54dc23bbb Mon Sep 17 00:00:00 2001 From: =?utf8?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=utf8 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 8cf5360b084..377644c70a2 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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(); } -- 2.39.5