From: Brion Vibber Date: Fri, 9 Apr 2010 19:01:53 +0000 (-0700) Subject: Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f4ad0acd8450a322d4a5d54b7e8e4baee75de3e5;p=quix0rs-gnu-social.git Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing --- f4ad0acd8450a322d4a5d54b7e8e4baee75de3e5 diff --cc actions/groupmembers.php index 6d0701239f,e72ef371ac..54f1d8dcda --- a/actions/groupmembers.php +++ b/actions/groupmembers.php @@@ -241,24 -245,9 +243,26 @@@ class GroupMemberListItem extends Profi if (common_config('nofollow', 'members')) { $aAttrs['rel'] = 'nofollow'; } + + return $aAttrs; } + + /** + * Fetch necessary return-to arguments for the profile forms + * to return to this list when they're done. + * + * @return array + */ + protected function returnToArgs() + { + $args = array('action' => 'groupmembers', + 'nickname' => $this->group->nickname); + $page = $this->out->arg('page'); + if ($page) { + $args['param-page'] = $page; + } + return $args; + } } /**