From: Evan Prodromou Date: Mon, 13 Dec 2010 17:40:44 +0000 (-0500) Subject: group_member includes self link, edit link X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5bbd77b761bfaed08903a3c3319c2ad0a99d7e3f;p=quix0rs-gnu-social.git group_member includes self link, edit link --- 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; } }