diff options
author | Evan Prodromou <evan@status.net> | 2010-10-18 11:28:31 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-10-18 11:28:31 -0400 |
commit | 0e443c524f61fca5d923e69a118a75338a18bf5d (patch) | |
tree | bdf880a247ce8ca86f648a878e3f90cfe160c010 | |
parent | 5329c5001cefeca2301ca28b2a75b6970197558b (diff) |
When nofollow|external=sometimes, do follow on favorites page
-rw-r--r-- | actions/showfavorites.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/actions/showfavorites.php b/actions/showfavorites.php index d8042e91c..77b73711d 100644 --- a/actions/showfavorites.php +++ b/actions/showfavorites.php @@ -227,7 +227,7 @@ class ShowfavoritesAction extends OwnerDesignAction function showContent() { - $nl = new NoticeList($this->notice, $this); + $nl = new FavoritesNoticeList($this->notice, $this); $cnt = $nl->show(); if (0 == $cnt) { @@ -244,3 +244,15 @@ class ShowfavoritesAction extends OwnerDesignAction } } +class FavoritesNoticeList extends NoticeList +{ + function newListItem($notice) + { + return new FavoritesNoticeListItem($notice, $this->out); + } +} + +// All handled by superclass +class FavoritesNoticeListItem extends DoFollowListItem +{ +} |