X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=plugins%2Fexample_vfeed%2Finit.php;h=e7efa757b4229f3c9d928b02d3d759f1cf7bc93a;hb=6322ac79a020ab584d412d782d62b2ee77d7c6cf;hp=e646809a4db185f37f9ce1904e42589c1e475f69;hpb=aca75cb5cb323535099c7aef46a78ea3cec082f2;p=tt-rss.git diff --git a/plugins/example_vfeed/init.php b/plugins/example_vfeed/init.php index e646809a..e7efa757 100644 --- a/plugins/example_vfeed/init.php +++ b/plugins/example_vfeed/init.php @@ -6,7 +6,6 @@ class Example_VFeed extends Plugin { // Not implemented yet: stuff for 3 panel mode - private $link; private $host; private $dummy_id; @@ -18,7 +17,6 @@ class Example_VFeed extends Plugin { } function init($host) { - $this->link = $host->get_link(); $this->host = $host; $this->dummy_id = $host->add_feed(-1, 'Dummy feed', 'images/pub_set.svg', $this); @@ -29,7 +27,7 @@ class Example_VFeed extends Plugin { } function get_headlines($feed_id, $options) { - $qfh_ret = queryFeedHeadlines($this->link, -4, + $qfh_ret = queryFeedHeadlines( -4, $options['limit'], $options['view_mode'], $options['cat_view'], $options['search'],