1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Call to menuScanMenus() Not needed.

It's already called by menuModify() in menumanager_class.php
So it runs 2x on each page load.
This commit is contained in:
BillyBoy0823 2013-05-13 00:34:21 -04:00
parent f8f241da5d
commit ccba273808

View File

@ -1133,7 +1133,7 @@ if($_POST)
//BC - configure and dot delimiter deprecated
if (!isset($_GET['configure']))
{
$men->menuScanMenus();
// $men->menuScanMenus(); // - Runs 2x - Is already called by menuModify() in menumanager_class.php
$text = $men->menuRenderMessage();
$text .= $men->menuSelectLayout();
$text .= $men->menuVisibilityOptions();