diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-13 10:30:02 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-13 10:30:02 +0100 |
commit | 3fd976995ab9d2be6523d9db9d1fd79db93faabf (patch) | |
tree | 38377d6958b39ef3e6ec685efa5f6c6153b8504e /lib/private/updater.php | |
parent | 4129480eb0a91bf53785ad38c6527def3ae0f1f8 (diff) | |
parent | 08e73d2c8f3c9cbed39a5b632907f8570d23440a (diff) | |
download | nextcloud-server-3fd976995ab9d2be6523d9db9d1fd79db93faabf.tar.gz nextcloud-server-3fd976995ab9d2be6523d9db9d1fd79db93faabf.zip |
Merge pull request #21668 from owncloud/add-super-evil-and-hidden-config-switch-to-disable-integrity-checks-really-just-do-not-use-this
Add hidden config switch to disable code integrity checking
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r-- | lib/private/updater.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php index f3fa7de41ef..32264484ee3 100644 --- a/lib/private/updater.php +++ b/lib/private/updater.php @@ -345,8 +345,8 @@ class Updater extends BasicEmitter { //Invalidate update feed $this->config->setAppValue('core', 'lastupdatedat', 0); - // Check for code integrity on the stable channel - if(\OC_Util::getChannel() === 'stable') { + // Check for code integrity if not disabled + if(\OC::$server->getIntegrityCodeChecker()->isCodeCheckEnforced()) { $this->emit('\OC\Updater', 'startCheckCodeIntegrity'); $this->checker->runInstanceVerification(); $this->emit('\OC\Updater', 'finishedCheckCodeIntegrity'); |