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