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/core/ajax
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-01-23 00:50:05 +0300
committerGitHub <noreply@github.com>2018-01-23 00:50:05 +0300
commitc7d9e5fd6305354ba46563a77eaa53642e2a838d (patch)
tree5ac016c84e6740f949efc5e65107b300d19af44b /core/ajax
parent23768d5fea197e9d74417244fd4bf870427f4b6c (diff)
parent0f35ef3727ee6ccec6f80cbc636b45aad00db903 (diff)
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.php2
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)) {