aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-21 20:19:32 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-21 20:19:32 +0000
commitf8ffe33a5eb4d81d60c8ba5cc615ee49b1ea239d (patch)
treee90c061557ec081253ee0309b7aec0542c10384b /actions/admin/plugins
parent3a0c12984c54788be343a0845da506944f35cacd (diff)
downloadelgg-f8ffe33a5eb4d81d60c8ba5cc615ee49b1ea239d.tar.gz
elgg-f8ffe33a5eb4d81d60c8ba5cc615ee49b1ea239d.tar.bz2
Refs #1538: Removed action_gatekeeper() from action files in core.
git-svn-id: http://code.elgg.org/elgg/trunk@3960 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/plugins')
-rw-r--r--actions/admin/plugins/disable.php3
-rw-r--r--actions/admin/plugins/disableall.php3
-rw-r--r--actions/admin/plugins/enable.php3
-rw-r--r--actions/admin/plugins/enableall.php3
-rw-r--r--actions/admin/plugins/reorder.php3
5 files changed, 0 insertions, 15 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index 4726a47fa..d5042e2bf 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.php
@@ -11,9 +11,6 @@
// block non-admin users
admin_gatekeeper();
-// Validate the action
-action_gatekeeper();
-
// Get the plugin
$plugin = get_input('plugin');
if (!is_array($plugin)) {
diff --git a/actions/admin/plugins/disableall.php b/actions/admin/plugins/disableall.php
index b48841047..70a945ee4 100644
--- a/actions/admin/plugins/disableall.php
+++ b/actions/admin/plugins/disableall.php
@@ -11,9 +11,6 @@
// block non-admin users
admin_gatekeeper();
-// Validate the action
-action_gatekeeper();
-
$plugins = get_installed_plugins();
foreach ($plugins as $p => $data) {
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index 6e4b98658..b5286336b 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -11,9 +11,6 @@
// block non-admin users
admin_gatekeeper();
-// Validate the action
-action_gatekeeper();
-
// Get the plugin
$plugin = get_input('plugin');
if (!is_array($plugin)) {
diff --git a/actions/admin/plugins/enableall.php b/actions/admin/plugins/enableall.php
index d6cac3938..ea4b48f95 100644
--- a/actions/admin/plugins/enableall.php
+++ b/actions/admin/plugins/enableall.php
@@ -11,9 +11,6 @@
// block non-admin users
admin_gatekeeper();
-// Validate the action
-action_gatekeeper();
-
$plugins = get_installed_plugins();
foreach ($plugins as $p => $data) {
diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php
index 45bcefc78..6050a585f 100644
--- a/actions/admin/plugins/reorder.php
+++ b/actions/admin/plugins/reorder.php
@@ -11,9 +11,6 @@
// block non-admin users
admin_gatekeeper();
-// Validate the action
-action_gatekeeper();
-
// Get the plugin
$mod = get_input('plugin');
$mod = str_replace('.','',$mod);