summaryrefslogtreecommitdiff
path: root/plugins/example_routing
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_routing
parentaca75cb5cb323535099c7aef46a78ea3cec082f2 (diff)
remove $link
Diffstat (limited to 'plugins/example_routing')
-rw-r--r--plugins/example_routing/init.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/example_routing/init.php b/plugins/example_routing/init.php
index 31c5b6f28..0ae446e33 100644
--- a/plugins/example_routing/init.php
+++ b/plugins/example_routing/init.php
@@ -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);