Merge pull request #2726 from nextcloud/check-all-channels

[downstream] Consider all channel except blank and git to be signed
This commit is contained in:
Christoph Wurst 2016-12-18 23:12:57 +01:00 committed by GitHub
commit 8a21fc0908
1 changed files with 3 additions and 7 deletions

View File

@ -96,12 +96,8 @@ class Checker {
* @return bool
*/
public function isCodeCheckEnforced() {
$signedChannels = [
'daily',
'testing',
'stable',
];
if(!in_array($this->environmentHelper->getChannel(), $signedChannels, true)) {
$notSignedChannels = [ '', 'git'];
if (in_array($this->environmentHelper->getChannel(), $notSignedChannels, true)) {
return false;
}