aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-23 10:03:05 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-23 10:03:05 +0000
commit029cb4bebc0d9ef7a0f60a402406633e2995dea5 (patch)
tree53ff94a19417816e7aabedd704cf238a6efe11b3 /actions
parent027c6c8f5c38670c46a083e6221d22a3487484aa (diff)
downloadelgg-029cb4bebc0d9ef7a0f60a402406633e2995dea5.tar.gz
elgg-029cb4bebc0d9ef7a0f60a402406633e2995dea5.tar.bz2
Action gatekeeper added to add and remove friends.
git-svn-id: https://code.elgg.org/elgg/trunk@3349 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r--actions/friends/add.php3
-rw-r--r--actions/friends/remove.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/actions/friends/add.php b/actions/friends/add.php
index 9dd8397bc..74238b3a0 100644
--- a/actions/friends/add.php
+++ b/actions/friends/add.php
@@ -12,7 +12,8 @@
*/
// Ensure we are logged in
- gatekeeper();
+ gatekeeper();
+ action_gatekeeper();
// Get the GUID of the user to friend
$friend_guid = get_input('friend');
diff --git a/actions/friends/remove.php b/actions/friends/remove.php
index debb0f7c2..ef0cdb46e 100644
--- a/actions/friends/remove.php
+++ b/actions/friends/remove.php
@@ -12,7 +12,8 @@
*/
// Ensure we are logged in
- gatekeeper();
+ gatekeeper();
+ action_gatekeeper();
// Get the GUID of the user to friend
$friend_guid = get_input('friend');