From fd2c1839a1e2d306cc55c810c4d3741c67b9dab5 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 14 Jun 2011 16:16:50 +0200 Subject: [PATCH] remove plugins settings page --- admin/plugins.php | 52 ------------------------------------- admin/templates/plugins.php | 28 -------------------- 2 files changed, 80 deletions(-) delete mode 100644 admin/plugins.php delete mode 100644 admin/templates/plugins.php diff --git a/admin/plugins.php b/admin/plugins.php deleted file mode 100644 index fd1933a7fa1..00000000000 --- a/admin/plugins.php +++ /dev/null @@ -1,52 +0,0 @@ -. -* -*/ - -require_once('../lib/base.php'); -require( 'template.php' ); -if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( $_SESSION['user_id'], 'admin' )){ - header( "Location: ".OC_HELPER::linkTo( "index.php" )); - exit(); -} - -OC_APP::setActiveNavigationEntry( "core_plugins" ); -$plugins=array(); -$blacklist=OC_PLUGIN::loadBlackList(); - -foreach( OC_PLUGIN::listPlugins() as $i ){ - // Gather data about plugin - $data = OC_PLUGIN::getPluginData($plugin); - - // Is it enabled? - $data["enabled"] = ( array_search( $plugin, $blacklist ) === false ); - - // Add the data - $plugins[] = $data; -} - - -$tmpl = new OC_TEMPLATE( "admin", "plugins", "admin" ); -$tmpl->assign( "plugins", $plugins ); -$tmpl->printPage(); - -?> - diff --git a/admin/templates/plugins.php b/admin/templates/plugins.php deleted file mode 100644 index 8f5e87d3e80..00000000000 --- a/admin/templates/plugins.php +++ /dev/null @@ -1,28 +0,0 @@ - -

Administration

-

Plugins

- - - - - - - - - - - - - - - - - - - - -
NameDescriptionVersionAuthor
enable
-- 2.39.5