mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Also allow pre-releases and nightlies when installing from git
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4f9c8b08ca
commit
a9ba631e4d
1 changed files with 3 additions and 3 deletions
|
|
@ -90,8 +90,8 @@ class AppFetcher extends Fetcher {
|
|||
return [];
|
||||
}
|
||||
|
||||
$allowPreReleases = $allowUnstable || $this->getChannel() === 'beta' || $this->getChannel() === 'daily';
|
||||
$allowNightly = $allowUnstable || $this->getChannel() === 'daily';
|
||||
$allowPreReleases = $allowUnstable || $this->getChannel() === 'beta' || $this->getChannel() === 'daily' || $this->getChannel() === 'git';
|
||||
$allowNightly = $allowUnstable || $this->getChannel() === 'daily' || $this->getChannel() === 'git';
|
||||
|
||||
foreach ($response['data'] as $dataKey => $app) {
|
||||
$releases = [];
|
||||
|
|
@ -183,7 +183,7 @@ class AppFetcher extends Fetcher {
|
|||
|
||||
|
||||
public function get($allowUnstable = false) {
|
||||
$allowPreReleases = $allowUnstable || $this->getChannel() === 'beta' || $this->getChannel() === 'daily';
|
||||
$allowPreReleases = $allowUnstable || $this->getChannel() === 'beta' || $this->getChannel() === 'daily' || $this->getChannel() === 'git';
|
||||
|
||||
$apps = parent::get($allowPreReleases);
|
||||
$allowList = $this->config->getSystemValue('appsallowlist');
|
||||
|
|
|
|||
Loading…
Reference in a new issue