]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/example_routing/init.php
remove $link
[tt-rss.git] / plugins / example_routing / init.php
index 31c5b6f284f67a1a7e29681bd400b4054df1d9f9..0ae446e336d9ed595ac7d90105fa60944e36ef8b 100644 (file)
@@ -12,7 +12,6 @@ class Example_Routing extends Plugin implements IHandler {
        // Any system method may be masked by plugins. You can mask
        // entire handler by supplying "*" instead of a method name.
 
-       private $link;
        private $host;
 
        function about() {
@@ -23,7 +22,6 @@ class Example_Routing extends Plugin implements IHandler {
        }
 
        function init($host) {
-               $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_handler("test", "example", $this);