From 6322ac79a020ab584d412d782d62b2ee77d7c6cf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 16:23:15 +0400 Subject: remove $link --- plugins/example_api/init.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/example_api') diff --git a/plugins/example_api/init.php b/plugins/example_api/init.php index a5f34b865..9e0ad18b9 100644 --- a/plugins/example_api/init.php +++ b/plugins/example_api/init.php @@ -6,7 +6,6 @@ class Example_Api extends Plugin { // 1. status (STATUS_OK or STATUS_ERR) // 2. arbitrary payload - private $link; private $host; function about() { @@ -18,7 +17,6 @@ class Example_Api extends Plugin { } function init($host) { - $this->link = $host->get_link(); $this->host = $host; $host->add_api_method("example_testmethod", $this); -- cgit v1.2.3