diff options
Diffstat (limited to 'settings/controller/checksetupcontroller.php')
-rw-r--r-- | settings/controller/checksetupcontroller.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/controller/checksetupcontroller.php b/settings/controller/checksetupcontroller.php index 26194bb1180..cfdfa5021bc 100644 --- a/settings/controller/checksetupcontroller.php +++ b/settings/controller/checksetupcontroller.php @@ -271,6 +271,10 @@ class CheckSetupController extends Controller { * @return DataResponse */ public function getFailedIntegrityCheckFiles() { + if(!$this->checker->isCodeCheckEnforced()) { + return new DataDisplayResponse('Integrity checker has been disabled. Integrity cannot be verified.'); + } + $completeResults = $this->checker->getResults(); if(!empty($completeResults)) { |