mirror of
https://github.com/e107inc/e107.git
synced 2025-09-01 18:32:44 +02:00
Remove some references to deprecated functions/methods.
This commit is contained in:
@@ -58,7 +58,7 @@ class e_menuManager {
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->curLayout = varsettrue($_GET['configure'], $pref['sitetheme_deflayout']);
|
||||
$this->curLayout = vartrue($_GET['configure'], $pref['sitetheme_deflayout']);
|
||||
}
|
||||
|
||||
$this->dbLayout = ($this->curLayout != $pref['sitetheme_deflayout']) ? $this->curLayout : ""; //menu_layout is left blank when it's default.
|
||||
@@ -1154,7 +1154,7 @@ class e_menuManager {
|
||||
|
||||
function menuSetCode($matches, &$ret)
|
||||
{
|
||||
if(!$matches || !varsettrue($matches[1]))
|
||||
if(!$matches || !vartrue($matches[1]))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user