Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-12-14 10:00:34 +01:00
parent cca8744350
commit 2dbd5052ff
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 4 additions and 4 deletions

View File

@ -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);