From 6322ac79a020ab584d412d782d62b2ee77d7c6cf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 16:23:15 +0400 Subject: remove $link --- plugins/example_vfeed/init.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/example_vfeed') diff --git a/plugins/example_vfeed/init.php b/plugins/example_vfeed/init.php index e646809a4..e7efa757b 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'], -- cgit v1.2.3