diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-21 20:19:32 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-21 20:19:32 +0000 |
commit | f8ffe33a5eb4d81d60c8ba5cc615ee49b1ea239d (patch) | |
tree | e90c061557ec081253ee0309b7aec0542c10384b /actions/admin | |
parent | 3a0c12984c54788be343a0845da506944f35cacd (diff) | |
download | elgg-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')
-rw-r--r-- | actions/admin/plugins/disable.php | 3 | ||||
-rw-r--r-- | actions/admin/plugins/disableall.php | 3 | ||||
-rw-r--r-- | actions/admin/plugins/enable.php | 3 | ||||
-rw-r--r-- | actions/admin/plugins/enableall.php | 3 | ||||
-rw-r--r-- | actions/admin/plugins/reorder.php | 3 | ||||
-rw-r--r-- | actions/admin/site/update_basic.php | 3 | ||||
-rw-r--r-- | actions/admin/user/ban.php | 1 | ||||
-rw-r--r-- | actions/admin/user/delete.php | 1 | ||||
-rw-r--r-- | actions/admin/user/makeadmin.php | 1 | ||||
-rw-r--r-- | actions/admin/user/removeadmin.php | 1 | ||||
-rw-r--r-- | actions/admin/user/resetpassword.php | 1 | ||||
-rw-r--r-- | actions/admin/user/unban.php | 1 |
12 files changed, 1 insertions, 23 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); diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index 70cc72730..d9fa8f367 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -15,7 +15,6 @@ global $CONFIG; // block non-admin users admin_gatekeeper(); -action_gatekeeper(); if (get_input('settings') == 'go') { if (datalist_get('default_site')) { @@ -91,4 +90,4 @@ if (get_input('settings') == 'go') { forward($_SERVER['HTTP_REFERER']); exit; } -}
\ No newline at end of file +} diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php index 83e789615..1a5d9e4a9 100644 --- a/actions/admin/user/ban.php +++ b/actions/admin/user/ban.php @@ -11,7 +11,6 @@ // block non-admin users admin_gatekeeper(); -action_gatekeeper(); // Get the user $guid = get_input('guid'); diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php index 3cd0aaecf..c22d27e8a 100644 --- a/actions/admin/user/delete.php +++ b/actions/admin/user/delete.php @@ -11,7 +11,6 @@ // block non-admin users admin_gatekeeper(); -action_gatekeeper(); // Get the user $guid = get_input('guid'); diff --git a/actions/admin/user/makeadmin.php b/actions/admin/user/makeadmin.php index e3fbac7e7..580e7df05 100644 --- a/actions/admin/user/makeadmin.php +++ b/actions/admin/user/makeadmin.php @@ -12,7 +12,6 @@ global $CONFIG; // block non-admin users admin_gatekeeper(); -action_gatekeeper(); // Get the user $guid = get_input('guid'); diff --git a/actions/admin/user/removeadmin.php b/actions/admin/user/removeadmin.php index 33d719adc..445596331 100644 --- a/actions/admin/user/removeadmin.php +++ b/actions/admin/user/removeadmin.php @@ -12,7 +12,6 @@ global $CONFIG; // block non-admin users admin_gatekeeper(); -action_gatekeeper(); // Get the user $guid = get_input('guid'); diff --git a/actions/admin/user/resetpassword.php b/actions/admin/user/resetpassword.php index d168ab9cc..aead052dd 100644 --- a/actions/admin/user/resetpassword.php +++ b/actions/admin/user/resetpassword.php @@ -12,7 +12,6 @@ global $CONFIG; // block non-admin users admin_gatekeeper(); -action_gatekeeper(); // Get the user $guid = get_input('guid'); diff --git a/actions/admin/user/unban.php b/actions/admin/user/unban.php index 208ffb5db..6e04c8114 100644 --- a/actions/admin/user/unban.php +++ b/actions/admin/user/unban.php @@ -11,7 +11,6 @@ // block non-admin users admin_gatekeeper(); -action_gatekeeper(); $access_status = access_get_show_hidden_status(); access_show_hidden_entities(true); |