diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-12-14 10:00:34 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-12-14 10:00:34 +0100 |
commit | 2dbd5052ffe3817b6882697ad96273a8b1f0381b (patch) | |
tree | a75a32739da316b5a8ce529b72a89cfdd7235153 /lib/private/Installer.php | |
parent | cca874435027be607f0ec76bc31e8bb80463779c (diff) | |
download | nextcloud-server-2dbd5052ffe3817b6882697ad96273a8b1f0381b.tar.gz nextcloud-server-2dbd5052ffe3817b6882697ad96273a8b1f0381b.zip |
Up check
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 3ddef99c645..4bdaa31e09b 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); |