mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
PHP8 Compatibility and code cleanup.
This commit is contained in:
@@ -177,10 +177,10 @@ if(!class_exists("_blank_setup"))
|
||||
|
||||
|
||||
$legacyMenuPref = e107::getConfig('menu')->getPref();
|
||||
if(isset($legacyMenuPref['newforumposts_caption']))
|
||||
/* if(isset($legacyMenuPref['newforumposts_caption']))
|
||||
{
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@@ -96,12 +96,12 @@ class _blank_admin implements e_admin_addon_interface
|
||||
if(!empty($id) )
|
||||
{
|
||||
|
||||
if(!empty($data['x__blank_url']))
|
||||
{
|
||||
// if(!empty($data['x__blank_url']))
|
||||
// {
|
||||
|
||||
// eg. Save the data in 'blank' plugin table. .
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
@@ -43,10 +43,10 @@ class _blank_related // include plugin-folder in the name.
|
||||
|
||||
return $items;
|
||||
}
|
||||
elseif(ADMIN)
|
||||
{
|
||||
// elseif(ADMIN)
|
||||
// {
|
||||
// return array(array('title'=>$query,'url'=>''));
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user