summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-15 20:22:14 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-15 20:22:14 +0000
commit37350e873d7d0d3350c4286a0c7d028ffe49825a (patch)
tree9c121cbf6ccd472cef87679f4b49854be7b3889c /lib
parent082db2ad7d6005859bdb70b1b37d3945c49f03bd (diff)
Make the feedlist work -- kinda
Diffstat (limited to 'lib')
-rw-r--r--lib/feedlist.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/feedlist.php b/lib/feedlist.php
index 0ff88cb25..9bc77ca15 100644
--- a/lib/feedlist.php
+++ b/lib/feedlist.php
@@ -47,13 +47,14 @@ if (!defined('LACONICA')) {
* @see Action::showExportList()
*/
-class FeedList
+class FeedList extends Widget
{
- var $out = null;
-
- function __construct($out=null)
+ var $action = null;
+
+ function __construct($action=null)
{
- $this->out = $out;
+ parent::__construct($action);
+ $this->action = $action;
}
function show($feeds)
@@ -72,7 +73,7 @@ class FeedList
function feedItem($feed)
{
- $nickname = $this->trimmed('nickname');
+ $nickname = $this->action->trimmed('nickname');
switch($feed['item']) {
case 'notices': default: