소스 검색

Only show message in the UI when the checker is enabled

tags/v9.0.1beta2
Joas Schilling 8 년 전
부모
커밋
c2cac0940d
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      lib/private/TemplateLayout.php

+ 1
- 1
lib/private/TemplateLayout.php 파일 보기

@@ -72,7 +72,7 @@ class TemplateLayout extends \OC_Template {

// Code integrity notification
$integrityChecker = \OC::$server->getIntegrityCodeChecker();
if(\OC_User::isAdminUser(\OC_User::getUser()) && !$integrityChecker->hasPassedCheck()) {
if(\OC_User::isAdminUser(\OC_User::getUser()) && $integrityChecker->isCodeCheckEnforced() && !$integrityChecker->hasPassedCheck()) {
\OCP\Util::addScript('core', 'integritycheck-failed-notification');
}


Loading…
취소
저장