From: Roland Häder Date: Wed, 17 Nov 2010 22:58:41 +0000 (+0000) Subject: Removed deprecated usage of isConfigEntrySet() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b5c73217d61df492650d5259092307a32d91b5e;p=mailer.git Removed deprecated usage of isConfigEntrySet() --- 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