1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 10:01:28 +00:00

remove $link

This commit is contained in:
Andrew Dolgov
2013-04-17 16:23:15 +04:00
parent aca75cb5cb
commit 6322ac79a0
80 changed files with 1624 additions and 1727 deletions

View 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'],