From 1b5c73217d61df492650d5259092307a32d91b5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 17 Nov 2010 22:58:41 +0000 Subject: [PATCH] Removed deprecated usage of isConfigEntrySet() --- inc/modules/admin.php | 3 --- index.php | 4 ---- 2 files changed, 7 deletions(-) diff --git a/inc/modules/admin.php b/inc/modules/admin.php index 261878ad06..bf5eab0d17 100644 --- a/inc/modules/admin.php +++ b/inc/modules/admin.php @@ -362,9 +362,6 @@ if (!isAdminRegistered()) { // 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 diff --git a/index.php b/index.php index ea6d84f9de..1cfa8c12d9 100644 --- a/index.php +++ b/index.php @@ -58,10 +58,6 @@ require('inc/config-global.php'); // 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 -- 2.39.5