summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRamiro Aparicio <rapariciog@gmail.com>2013-10-24 17:46:52 +0200
committerRamiro Aparicio <rapariciog@gmail.com>2013-10-24 19:21:40 +0200
commit3a81c8e3af29a95eabed902d7223d0b92c546754 (patch)
treef878d2d60079ae05d92c8dae2a78a396e6c5cda5 /lib/base.php
parent808e9b0f515585f8d2bb18de94eed994d14f3749 (diff)
downloadnextcloud-server-3a81c8e3af29a95eabed902d7223d0b92c546754.tar.gz
nextcloud-server-3a81c8e3af29a95eabed902d7223d0b92c546754.zip
Changed update message to be more instructive, changed update style to be less aggresive
Fix br tags Improve english messages
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 62427fa568c..a8ea865e621 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();