summaryrefslogtreecommitdiff
path: root/actions/showfavorites.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-26 15:39:31 -0700
committerBrion Vibber <brion@pobox.com>2010-10-26 15:39:31 -0700
commit8ff44a1fb9f54ce61a91987ca44cbd4fccf0a012 (patch)
tree15b95f9a9b3abc52ad063f6ce808507a7fae256e /actions/showfavorites.php
parent22047f6412811cb340aee6ba49d15257581b5aa9 (diff)
parentc09487f272e247d7c6fd8cd3d785454d2385fe3d (diff)
Merge branch '0.9.x' into twitstream
Diffstat (limited to 'actions/showfavorites.php')
-rw-r--r--actions/showfavorites.php14
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
+{
+}