diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-24 10:41:51 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-25 12:01:02 +0100 |
commit | df61d43529418aace241b99be106ff9a35188dac (patch) | |
tree | 1dee18bbed4828e67b96f87c41f3a43f799fd822 /lib/private/Updater.php | |
parent | 0e2f00ec59424b2ef5708a928856e2c75abe6deb (diff) | |
download | nextcloud-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.php | 2 |
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); } |