Up check
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
cca8744350
commit
2dbd5052ff
|
@ -395,14 +395,14 @@ class Installer {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->apps === null) {
|
|
||||||
$apps = $this->appFetcher->get();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->isInstalledFromGit($appId) === true) {
|
if ($this->isInstalledFromGit($appId) === true) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->apps === null) {
|
||||||
|
$apps = $this->appFetcher->get();
|
||||||
|
}
|
||||||
|
|
||||||
foreach($apps as $app) {
|
foreach($apps as $app) {
|
||||||
if($app['id'] === $appId) {
|
if($app['id'] === $appId) {
|
||||||
$currentVersion = OC_App::getAppVersion($appId);
|
$currentVersion = OC_App::getAppVersion($appId);
|
||||||
|
|
Loading…
Reference in New Issue