summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-04-09 20:51:43 +0200
committerBart Visscher <bartv@thisnet.nl>2013-05-04 00:05:29 +0200
commit41f7eb948ad09632764cd8503dcec6c5fa6093cd (patch)
tree7957d4e3f7c4090b46722ea94e536a699aa7ff19 /lib/base.php
parent4f6565d8e7479ed637cc5e418e7dc768a54c4b0a (diff)
downloadnextcloud-server-41f7eb948ad09632764cd8503dcec6c5fa6093cd.tar.gz
nextcloud-server-41f7eb948ad09632764cd8503dcec6c5fa6093cd.zip
Move start of the maintenance mode to the ajax call
Make sure the update page is shown in a browser. And not an ajax request
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php
index 8633ae9b637..1e4bbff49cf 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -282,10 +282,6 @@ class OC {
$currentVersion = implode('.', OC_Util::getVersion());
if (version_compare($currentVersion, $installedVersion, '>')) {
if ($showTemplate && !OC_Config::getValue('maintenance', false)) {
- OC_Config::setValue('maintenance', true);
- OC_Log::write('core',
- 'starting upgrade from ' . $installedVersion . ' to ' . $currentVersion,
- OC_Log::WARN);
$minimizerCSS = new OC_Minimizer_CSS();
$minimizerCSS->clearCache();
$minimizerJS = new OC_Minimizer_JS();