From 5ed89f94a2fdda1ffd403691a3e94bd81ee9e1dc Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 15 Jul 2015 16:04:57 +0200 Subject: [PATCH] [UPDATE] Remove config disable check popup from admins --- public/index.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/public/index.php b/public/index.php index 1604b945..fd305a8a 100644 --- a/public/index.php +++ b/public/index.php @@ -99,13 +99,6 @@ if (count(@$_SESSION['last_ip_pop']) == 2) { } } -// version check and config check if not disabled -if (@$_SESSION['USERDATA']['is_admin'] && $user->isAdmin(@$_SESSION['USERDATA']['id'])) { - if (!@$config['skip_config_tests'] && @$_GET['action'] != 'setup') { - $_SESSION['POPUP'][] = array('CONTENT' => "You haven't turned off config checks, visit the setup page for further information.", 'DISMISS' => 'yes', 'ID' => 'lastlogin', 'TYPE' => 'alert alert-info'); - } -} - // Create our pages array from existing files if (is_dir(INCLUDE_DIR . '/pages/')) { foreach (glob(INCLUDE_DIR . '/pages/*.inc.php') as $filepath) {