summaryrefslogtreecommitdiff
path: root/actions/groups.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/groups.php')
-rw-r--r--actions/groups.php13
1 files changed, 2 insertions, 11 deletions
diff --git a/actions/groups.php b/actions/groups.php
index b0bf7cfc2..e158698de 100644
--- a/actions/groups.php
+++ b/actions/groups.php
@@ -137,16 +137,7 @@ class GroupsAction extends Action
*/
function showRelationshipLinks()
{
- // Machine-readable pagination
- if ($this->page > 1) {
- $this->element('link', array('rel' => 'next',
- 'href' => common_local_url('groups',
- array('page' => $this->page - 1)),
- 'title' => _('Next Groups')));
- }
- $this->element('link', array('rel' => 'prev',
- 'href' => common_local_url('groups',
- array('page' => $this->page + 1)),
- 'title' => _('Previous Groups')));
+ $this->sequenceRelationships($this->page > 1, $this->count > NOTICES_PER_PAGE, // FIXME
+ $this->page, 'groups', array('nickname' => $this->group->nickname));
}
}