Explorar el Código

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

[downstream] Consider all channel except blank and git to be signed
tags/v12.0.0beta1
Christoph Wurst hace 7 años
padre
commit
8a21fc0908
Se han modificado 1 ficheros con 3 adiciones y 7 borrados
  1. 3
    7
      lib/private/IntegrityCheck/Checker.php

+ 3
- 7
lib/private/IntegrityCheck/Checker.php Ver fichero

@@ -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;
}

@@ -115,7 +111,7 @@ class Checker {
} else {
$isIntegrityCheckDisabled = false;
}
if($isIntegrityCheckDisabled === true) {
if ($isIntegrityCheckDisabled === true) {
return false;
}


Cargando…
Cancelar
Guardar