diff options
author | Joas Schilling <coding@schilljs.com> | 2019-03-20 12:15:52 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-03-20 15:16:13 +0100 |
commit | 95c9e0edd216e7a0afd16da27492ec833728bdb2 (patch) | |
tree | ed01aaa54b00316b79776830c0d59f23886437d1 /lib/private/App | |
parent | 769cb629aebd368fbddd6ea04067fdcfaa262e3e (diff) | |
download | nextcloud-server-95c9e0edd216e7a0afd16da27492ec833728bdb2.tar.gz nextcloud-server-95c9e0edd216e7a0afd16da27492ec833728bdb2.zip |
Remove apps from the list which have no release at all
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/App')
-rw-r--r-- | lib/private/App/AppStore/Fetcher/AppFetcher.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index d8c505757c8..4067e03a818 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -103,6 +103,11 @@ class AppFetcher extends Fetcher { } } + if (empty($releases)) { + // Remove apps that don't have a matching release + continue; + } + // Get the highest version $versions = []; foreach($releases as $release) { |