1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

RSS admin code clean-up

This commit is contained in:
Tijn Kuyper 2019-09-03 14:50:11 +02:00
parent 9be7ef275a
commit 1d9be344af
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -6,12 +6,6 @@
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/admin_prefs.php,v $
* $Revision$
* $Date$
* $Author$
*/
/*
@ -23,7 +17,9 @@ Notes:
- generic admin icons used. ADMIN_ICON_EDIT etc.
- using $caption = "whatever", is unneccessary.
*/
require_once("../../class2.php");
if(!getperms("P") || !e107::isInstalled('rss_menu'))
{
e107::redirect('admin');
@ -34,9 +30,6 @@ if(!getperms("P") || !e107::isInstalled('rss_menu'))
e107::includeLan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
// XXX THIS IS SET UP FOR LATER USE.
class rss_admin extends e_admin_dispatcher
{
@ -55,7 +48,7 @@ class rss_admin extends e_admin_dispatcher
protected $adminMenu = array(
'main/list' => array('caption'=> LAN_MANAGE, 'perm' => 'P'),
'main/import' => array('caption'=> LAN_CREATE, 'perm' => 'P'),
'main/import' => array('caption'=> LAN_IMPORT, 'perm' => 'P'),
'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => 'P'),
/*
@ -81,8 +74,6 @@ class rss_admin extends e_admin_dispatcher
}
//TODO - Use this .. .
class rss_ui extends e_admin_ui
{