aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/components/plugin_settings.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 00:12:17 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 00:12:17 +0000
commit00ea6e1ddd446c61c6ccd956989b4b9a1cd60119 (patch)
tree4d3d546d88326fd976a8f75c0b4d4dac9b54ef1b /views/default/admin/components/plugin_settings.php
parent8439fcf13d794780c89925896b8aaca521c14e30 (diff)
downloadelgg-00ea6e1ddd446c61c6ccd956989b4b9a1cd60119.tar.gz
elgg-00ea6e1ddd446c61c6ccd956989b4b9a1cd60119.tar.bz2
Refs #2950: Cleanup of plugin-related view structure
git-svn-id: http://code.elgg.org/elgg/trunk@8394 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/components/plugin_settings.php')
-rw-r--r--views/default/admin/components/plugin_settings.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/views/default/admin/components/plugin_settings.php b/views/default/admin/components/plugin_settings.php
deleted file mode 100644
index c2801cec3..000000000
--- a/views/default/admin/components/plugin_settings.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-/**
- * Elgg plugin settings
- *
- * @uses ElggPlugin $vars['plugin'] The plugin object to display settings for.
- *
- * @package Elgg.Core
- * @subpackage Plugins.Settings
- */
-
-$plugin = $vars['plugin'];
-$plugin_id = $plugin->getID();
-
-// required for plugin settings backward compatibility
-$vars['entity'] = $plugin;
-
-if (elgg_view_exists("settings/$plugin_id/edit")) {
-
- $title = $plugin->manifest->getName();
-
- $params = array('id' => "$plugin_id-settings");
- $body = elgg_view_form("plugins/settings/save", $params, $vars);
-
- echo elgg_view_module('info', $title, $body);
-} \ No newline at end of file