Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-05-16 10:28:15 +0300
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-06-10 02:29:47 +0300
commit4da6b1b515043d830acf6ba4a260b51c251f5507 (patch)
tree9e8ec0b7c4c76c661f3a100bbca7c28d2d00ef9b /lib
parent5058c6d3a84f4ce88b63da096c5ac7f3f34c5506 (diff)
Properly import maintenance scriptbackport/32412/stable24
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 21889272dd7..66e57459a91 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();
}