diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2018-01-22 22:50:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 22:50:05 +0100 |
commit | c7d9e5fd6305354ba46563a77eaa53642e2a838d (patch) | |
tree | 5ac016c84e6740f949efc5e65107b300d19af44b /core/ajax | |
parent | 23768d5fea197e9d74417244fd4bf870427f4b6c (diff) | |
parent | 0f35ef3727ee6ccec6f80cbc636b45aad00db903 (diff) | |
download | nextcloud-server-c7d9e5fd6305354ba46563a77eaa53642e2a838d.tar.gz nextcloud-server-c7d9e5fd6305354ba46563a77eaa53642e2a838d.zip |
Merge pull request #7354 from nextcloud/refacor-update-page-print
Refactor method to check if update is needed
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 239b073dc9e..af604299169 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -98,7 +98,7 @@ class FeedBackHandler { } } -if (OC::checkUpgrade(false)) { +if (\OCP\Util::needUpgrade()) { $config = \OC::$server->getSystemConfig(); if ($config->getValue('upgrade.disable-web', false)) { |