Removed deprecated usage of isConfigEntrySet()
authorRoland Häder <roland@mxchange.org>
Wed, 17 Nov 2010 22:58:41 +0000 (22:58 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 17 Nov 2010 22:58:41 +0000 (22:58 +0000)
inc/modules/admin.php
index.php

index 261878ad0623b77382ee3a1a45ba6dd704a511d4..bf5eab0d17391b52d36974519a19eb4418a79c9d 100644 (file)
@@ -362,9 +362,6 @@ if (!isAdminRegistered()) {
                        // Check for access control line of current menu entry
                        runFilterChain('check_admin_acl');
 
                        // Check for access control line of current menu entry
                        runFilterChain('check_admin_acl');
 
-                       // When type of admin menu is not set fallback to old menu system
-                       if (!isConfigEntrySet('admin_menu')) setConfigEntry('admin_menu', 'OLD');
-
                        // Check for version and switch between old menu system and new intelligent menu system
                        if ((adminGetMenuMode() == 'NEW') && (isIncludeReadable('inc/modules/admin/lasys-inc.php'))) {
                                // Default area is the entrance, of course
                        // Check for version and switch between old menu system and new intelligent menu system
                        if ((adminGetMenuMode() == 'NEW') && (isIncludeReadable('inc/modules/admin/lasys-inc.php'))) {
                                // Default area is the entrance, of course
index ea6d84f9deade7973a6b5136746e23a6070e614e..1cfa8c12d9ebeab4b329c911e80c2990cd606218 100644 (file)
--- a/index.php
+++ b/index.php
@@ -58,10 +58,6 @@ require('inc/config-global.php');
 // Set content type
 setContentType('text/html');
 
 // Set content type
 setContentType('text/html');
 
-// Fix missing array elements here
-if (!isConfigEntrySet('index_delay'))  setConfigEntry('index_delay' , 0);
-if (!isConfigEntrySet('index_cookie')) setConfigEntry('index_cookie', 0);
-
 // Check for cookies
 if ((isSessionVariableSet('visited')) || (getConfig('index_delay') > -1)) {
        // Header
 // Check for cookies
 if ((isSessionVariableSet('visited')) || (getConfig('index_delay') > -1)) {
        // Header