]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/example_vfeed/init.php
remove $link
[tt-rss.git] / plugins / example_vfeed / init.php
index e646809a4db185f37f9ce1904e42589c1e475f69..e7efa757b4229f3c9d928b02d3d759f1cf7bc93a 100644 (file)
@@ -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'],