Skip to content

Commit

Permalink
Merge pull request #46578 from nextcloud/backport/46555/stable29
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv committed Jul 27, 2024
2 parents 3a4c3b9 + 5a29cc5 commit 18076c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/App/AppStore/Fetcher/AppFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ public function get($allowUnstable = false) {
$allowPreReleases = $allowUnstable || $this->getChannel() === 'beta' || $this->getChannel() === 'daily' || $this->getChannel() === 'git';

$apps = parent::get($allowPreReleases);
if (empty($apps)) {
$this->logger->warning('Could not get apps from the appstore', ['app' => 'appstoreFetcher']);
return [];
}
$allowList = $this->config->getSystemValue('appsallowlist');

// If the admin specified a allow list, filter apps from the appstore
Expand Down

0 comments on commit 18076c7

Please sign in to comment.