summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-24 10:28:17 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-24 10:28:17 -0700
commit3917d18980638e86f5cce9242adeded0ca760260 (patch)
tree93266e7e5fd9768f1c82200279fb988f597f2c3c /lib/base.php
parent54e9d8c306b1a443ab1ba921d4e450c7477d0445 (diff)
parent3a81c8e3af29a95eabed902d7223d0b92c546754 (diff)
downloadnextcloud-server-3917d18980638e86f5cce9242adeded0ca760260.tar.gz
nextcloud-server-3917d18980638e86f5cce9242adeded0ca760260.zip
Merge pull request #5528 from frisco82/changeUpadateNotification
Changed update message to be more instructive
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 3f89b51a61c..240dd1c12b6 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -224,7 +224,9 @@ class OC {
header('Retry-After: 120');
// render error page
- OC_Template::printErrorPage('ownCloud is in maintenance mode');
+ $tmpl = new OC_Template('', 'update.user', 'guest');
+ $tmpl->printPage();
+ die();
}
}
@@ -240,7 +242,7 @@ class OC {
$minimizerJS = new OC_Minimizer_JS();
$minimizerJS->clearCache();
OC_Util::addscript('update');
- $tmpl = new OC_Template('', 'update', 'guest');
+ $tmpl = new OC_Template('', 'update.admin', 'guest');
$tmpl->assign('version', OC_Util::getVersionString());
$tmpl->printPage();
exit();