aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/reorder.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-13 15:31:24 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-13 15:31:24 +0000
commitb06c6d6f157513e2fc5d6eaa1e6c02d1e1046567 (patch)
tree2037cc644e26084359f38de7c5f582a88779988c /actions/admin/plugins/reorder.php
parentdd354e7b0f75e59ed3be40dc7d7a3a8262213ccb (diff)
downloadelgg-b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567.tar.gz
elgg-b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567.tar.bz2
Refs #2450: Updated docs for core admin actions.
git-svn-id: http://code.elgg.org/elgg/trunk@6929 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/plugins/reorder.php')
-rw-r--r--actions/admin/plugins/reorder.php20
1 files changed, 12 insertions, 8 deletions
diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php
index 6423dc14c..e3f5c4a0a 100644
--- a/actions/admin/plugins/reorder.php
+++ b/actions/admin/plugins/reorder.php
@@ -1,17 +1,21 @@
<?php
/**
- * Reorder plugin action.
+ * Changes the load order of a plugin.
*
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
+ * Plugin order affects priority for view, action, and page handler
+ * overriding as well as the order of view extensions. Higher numbers
+ * are loaded after lower numbers, and so receive higher priority.
+ *
+ * NOTE: When viewing the admin page (advanced plugin admin in >= 1.8) plugins
+ * LOWER on the page have HIGHER priority and will override views, etc
+ * from plugins above them.
+ *
+ * @package Elgg.Core
+ * @subpackage Administration.Site
*/
-// block non-admin users
admin_gatekeeper();
-// Get the plugin
$mod = get_input('plugin');
$mod = str_replace('.', '', $mod);
$mod = str_replace('/', '', $mod);
@@ -44,4 +48,4 @@ if (regenerate_plugin_list($plugins)) {
elgg_view_regenerate_simplecache();
elgg_filepath_cache_reset();
-forward($_SERVER['HTTP_REFERER']);
+forward($_SERVER['HTTP_REFERER']); \ No newline at end of file