mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #1109, Fixes #830, Fixes #731, Fixes #710, Fixes #608, Fixes #1012 : v1 -> v2 Upgrade-Routine fixes (including forum plugin)
This commit is contained in:
@@ -64,7 +64,7 @@ class e_menu
|
||||
}
|
||||
|
||||
// print_a($eMenuArea);
|
||||
if(varset($_SERVER['E_DEV_MENU']) == 'true') // New in v2.x
|
||||
if(varset($_SERVER['E_DEV_MENU']) == 'true') // New in v2.x Experimental
|
||||
{
|
||||
$layouts = e107::getPref('menu_layouts');
|
||||
if(!is_array($layouts))
|
||||
@@ -76,7 +76,7 @@ class e_menu
|
||||
$eMenuArea = $this->getData(THEME_LAYOUT);
|
||||
//print_a($eMenuArea);
|
||||
}
|
||||
else // the old v1.x way.
|
||||
else // standard DB 'table' method.
|
||||
{
|
||||
$eMenuArea = $this->getDataLegacy();
|
||||
}
|
||||
@@ -188,7 +188,7 @@ class e_menu
|
||||
|
||||
/**
|
||||
* @DEPRECATED
|
||||
* Legacy Function to retrieve Menu data from tables. - ie. the old v1.x method.
|
||||
* Legacy Function to retrieve Menu data from tables.
|
||||
*/
|
||||
private function getDataLegacy()
|
||||
{
|
||||
|
Reference in New Issue
Block a user