From 5bbd77b761bfaed08903a3c3319c2ad0a99d7e3f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 13 Dec 2010 12:40:44 -0500 Subject: [PATCH] group_member includes self link, edit link --- classes/Group_member.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/classes/Group_member.php b/classes/Group_member.php index c40d06a1db..e513f6f3b2 100644 --- a/classes/Group_member.php +++ b/classes/Group_member.php @@ -118,6 +118,13 @@ class Group_member extends Memcached_DataObject $member->getBestName(), $group->getBestName()); + $url = common_local_url('AtomPubShowMembership', + array('profile' => $member->id, + 'group' => $group->id)); + + $act->selfLink = $url; + $act->editLink = $url; + return $act; } } -- 2.39.5