summaryrefslogtreecommitdiff
path: root/plugins/example_vfeed/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 16:23:15 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 16:48:41 +0400
commit6322ac79a020ab584d412d782d62b2ee77d7c6cf (patch)
treeb2e64a140a3bc9d9ce649ee67f8a687b6511d9f4 /plugins/example_vfeed/init.php
parentaca75cb5cb323535099c7aef46a78ea3cec082f2 (diff)
remove $link
Diffstat (limited to 'plugins/example_vfeed/init.php')
-rw-r--r--plugins/example_vfeed/init.php4
1 files changed, 1 insertions, 3 deletions
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'],