]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/example_feed/init.php
remove $link
[tt-rss.git] / plugins / example_feed / init.php
index af14d3ff3fc9936b6b5a9d87a24877979c24b38c..19d089667152161179d85066187e6dded2b05e44 100644 (file)
@@ -4,7 +4,6 @@ class Example_Feed extends Plugin {
        // Demonstrates how to query data from the parsed feed object (SimplePie)
        // don't enable unless debugging feed through f D hotkey or manually.
 
-       private $link;
        private $host;
 
        function about() {
@@ -15,7 +14,6 @@ class Example_Feed extends Plugin {
        }
 
        function init($host) {
-               $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_hook($host::HOOK_FEED_PARSED, $this);