aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Updater.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-24 10:41:51 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-11-25 12:01:02 +0100
commitdf61d43529418aace241b99be106ff9a35188dac (patch)
tree1dee18bbed4828e67b96f87c41f3a43f799fd822 /lib/private/Updater.php
parent0e2f00ec59424b2ef5708a928856e2c75abe6deb (diff)
downloadnextcloud-server-df61d43529418aace241b99be106ff9a35188dac.tar.gz
nextcloud-server-df61d43529418aace241b99be106ff9a35188dac.zip
Make isUpdateAvailable non-static
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Updater.php')
-rw-r--r--lib/private/Updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php
index 5c8d5a2cd4e..996163daacc 100644
--- a/lib/private/Updater.php
+++ b/lib/private/Updater.php
@@ -468,7 +468,7 @@ class Updater extends BasicEmitter {
foreach($disabledApps as $app) {
try {
$this->emit('\OC\Updater', 'checkAppStoreAppBefore', [$app]);
- if (Installer::isUpdateAvailable($app, \OC::$server->getAppFetcher())) {
+ if ($this->installer->isUpdateAvailable($app)) {
$this->emit('\OC\Updater', 'upgradeAppStoreApp', [$app]);
$this->installer->updateAppstoreApp($app);
}