diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 3ddef99c64..4bdaa31e09 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -395,14 +395,14 @@ class Installer { return false; } - if ($this->apps === null) { - $apps = $this->appFetcher->get(); - } - if ($this->isInstalledFromGit($appId) === true) { return false; } + if ($this->apps === null) { + $apps = $this->appFetcher->get(); + } + foreach($apps as $app) { if($app['id'] === $appId) { $currentVersion = OC_App::getAppVersion($appId);