]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/example_article/init.php
remove $link
[tt-rss.git] / plugins / example_article / init.php
index 05f95a40a0e40fdb9c60ead34b6089becdf43dbb..000be7c4c79a951511320fd770dd65f1d77e2d4b 100644 (file)
@@ -1,7 +1,6 @@
 <?php
 class Example_Article extends Plugin {
 
-       private $link;
        private $host;
 
        function about() {
@@ -12,7 +11,6 @@ class Example_Article extends Plugin {
        }
 
        function init($host) {
-               $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_hook($host::HOOK_RENDER_ARTICLE, $this);