diff options
-rw-r--r-- | lib/private/App/AppStore/Fetcher/AppFetcher.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index 6c201978e1f..075c4853c34 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -183,7 +183,9 @@ class AppFetcher extends Fetcher { public function get($allowUnstable = false) { - $apps = parent::get($allowUnstable); + $allowPreReleases = $allowUnstable || $this->getChannel() === 'beta' || $this->getChannel() === 'daily'; + + $apps = parent::get($allowPreReleases); $allowList = $this->config->getSystemValue('appsallowlist'); // If the admin specified a allow list, filter apps from the appstore |