diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-12-14 09:50:17 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-12-14 09:56:53 +0100 |
commit | 54c227b6c4cf7c4597a45aa255be93cd4c14d1ec (patch) | |
tree | 736e7ac8079696701d05df00a1708e21c530118b /lib/private/Installer.php | |
parent | ce12763ab7e29d8b41ef1b0594923f7911decea9 (diff) | |
download | nextcloud-server-54c227b6c4cf7c4597a45aa255be93cd4c14d1ec.tar.gz nextcloud-server-54c227b6c4cf7c4597a45aa255be93cd4c14d1ec.zip |
Use cached app list
Followup to #7264
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 48bd57f4c10..eb1f8a456bf 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -396,10 +396,10 @@ class Installer { } if ($this->apps === null) { - $apps = $this->appFetcher->get(); + $this->apps = $this->appFetcher->get(); } - foreach($apps as $app) { + foreach($this->apps as $app) { if($app['id'] === $appId) { $currentVersion = OC_App::getAppVersion($appId); $newestVersion = $app['releases'][0]['version']; |