Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove outdated integrity warning on each page
* integrity warning is shown during update and in the admin setup checks
* there is also the plan to retire this old way of notification

Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke committed Nov 12, 2018
commit 761ba1801b6a932820beacb36f343ec3b07c471c
39 changes: 0 additions & 39 deletions core/js/integritycheck-failed-notification.js

This file was deleted.

6 changes: 0 additions & 6 deletions lib/private/TemplateLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ public function __construct( $renderAs, $appId = '' ) {
$this->assign('bodyid', 'body-user');
}

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

// Add navigation entry
$this->assign( 'application', '');
$this->assign( 'appid', $appId );
Expand Down