aboutsummaryrefslogtreecommitdiff
path: root/actions/friends
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:23:02 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:23:02 +0000
commit38f3674095d16bfb73320eb2e0b566ad4484882d (patch)
treefdb6d200e5aed04ec6e7e77bfa2c76fcafd75639 /actions/friends
parent9c1e6d6463937bdee2d1de9735463a69f8af305d (diff)
downloadelgg-38f3674095d16bfb73320eb2e0b566ad4484882d.tar.gz
elgg-38f3674095d16bfb73320eb2e0b566ad4484882d.tar.bz2
Refs #2451: Removed gatekeeper/admin_gatekeeper() calls from core actions
git-svn-id: http://code.elgg.org/elgg/trunk@7433 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/friends')
-rw-r--r--actions/friends/add.php3
-rw-r--r--actions/friends/addcollection.php3
-rw-r--r--actions/friends/deletecollection.php4
-rw-r--r--actions/friends/remove.php3
4 files changed, 0 insertions, 13 deletions
diff --git a/actions/friends/add.php b/actions/friends/add.php
index d0a0d3d7c..e6fa5b62e 100644
--- a/actions/friends/add.php
+++ b/actions/friends/add.php
@@ -6,9 +6,6 @@
* @subpackage Friends.Management
*/
-// Ensure we are logged in
-gatekeeper();
-
// Get the GUID of the user to friend
$friend_guid = get_input('friend');
$friend = get_entity($friend_guid);
diff --git a/actions/friends/addcollection.php b/actions/friends/addcollection.php
index 8fdb2be87..92c78a2c1 100644
--- a/actions/friends/addcollection.php
+++ b/actions/friends/addcollection.php
@@ -6,9 +6,6 @@
* @subpackage Friends.Collections
*/
-//must be logged in
-gatekeeper();
-
$collection_name = get_input('collection_name');
$friends = get_input('friends_collection');
diff --git a/actions/friends/deletecollection.php b/actions/friends/deletecollection.php
index b57802ce7..1c3d878a1 100644
--- a/actions/friends/deletecollection.php
+++ b/actions/friends/deletecollection.php
@@ -6,10 +6,6 @@
* @subpackage Friends.Collections
*/
-// Make sure we're logged in (send us to the front page if not)
-gatekeeper();
-
-// Get input data
$collection_id = (int) get_input('collection');
// Check to see that the access collection exist and grab its owner
diff --git a/actions/friends/remove.php b/actions/friends/remove.php
index 1230b12af..0a43c95bc 100644
--- a/actions/friends/remove.php
+++ b/actions/friends/remove.php
@@ -6,9 +6,6 @@
* @subpackage Friends.Management
*/
-// Ensure we are logged in
-gatekeeper();
-
// Get the GUID of the user to friend
$friend_guid = get_input('friend');
$friend = get_entity($friend_guid);