1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Banner plugin - code-cleanup (no functional changes)

Comment unused code
This commit is contained in:
Tijn Kuyper
2019-11-27 15:54:47 +01:00
parent 477e0c9e5e
commit 83fe2fa097

View File

@@ -147,10 +147,10 @@ class banner_ui extends e_admin_ui
public function init()
{
if (!empty($_POST['update_menu']))
/*if (!empty($_POST['update_menu']))
{
$this->menuPageSave();
}
}*/
}
@@ -227,6 +227,7 @@ class banner_ui extends e_admin_ui
// do something
}
/*
private function menuPageSave()
{
$temp = array();
@@ -264,7 +265,7 @@ class banner_ui extends e_admin_ui
}
}*/
public function menuPage()
@@ -273,7 +274,7 @@ class banner_ui extends e_admin_ui
return e107::getMessage()->addInfo("The menu is now configured within the menu-manager.")->render();
$ns = e107::getRender();
/*$ns = e107::getRender();
$sql = e107::getDb();
$menu_pref = e107::getConfig('menu')->getPref('');
$frm = e107::getForm();
@@ -372,6 +373,7 @@ class banner_ui extends e_admin_ui
return $mes->render().$text;
// $ns->tablerender(LAN_PLUGIN_BANNER_NAME.SEP.BNRLAN_36, $mes->render() . $text);
*/
}
public function renderHelp()
@@ -485,25 +487,6 @@ class banner_form_ui extends e_admin_form_ui
break;
}
}
// Custom Method/Function
@@ -645,12 +628,6 @@ class banner_form_ui extends e_admin_form_ui
}
}
@@ -664,17 +641,3 @@ exit;
//TODO - Put client/password in a separate table?
// ---------------------------- UNUSED Below here -------------------------------------------- //