diff options
author | Sem <sembrestels@riseup.net> | 2012-02-18 16:17:22 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-02-18 16:17:22 +0100 |
commit | f3aee5808ae6adf499f971310804da995032a723 (patch) | |
tree | 2e9b6875b1079dbb100c3f9f82ff8954047c590b /actions | |
parent | 3bbff4f7bd1ae793a99ba5c6b04f17e4cdb34514 (diff) | |
download | elgg-f3aee5808ae6adf499f971310804da995032a723.tar.gz elgg-f3aee5808ae6adf499f971310804da995032a723.tar.bz2 |
Both friendships in the river.
Diffstat (limited to 'actions')
-rw-r--r-- | actions/friends/add.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/friends/add.php b/actions/friends/add.php index 46e2a6c09..04168c4c3 100644 --- a/actions/friends/add.php +++ b/actions/friends/add.php @@ -17,6 +17,7 @@ if(check_entity_relationship($friend->guid, "friendrequest", $user->guid) remove_entity_relationship($friend->guid, "friendrequest", $user->guid); add_to_river('river/relationship/friend/create', 'friend', $user->guid, $friend->guid); + add_to_river('river/relationship/friend/create', 'friend', $friend->guid, $user->guid); system_message(elgg_echo("friends:add:successful", array($friend->name))); } elseif(add_entity_relationship($user->guid, "friendrequest", $friend->guid)) { |