diff options
author | Andrew Dolgov <[email protected]> | 2013-04-17 16:23:15 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-17 16:48:41 +0400 |
commit | 6322ac79a020ab584d412d782d62b2ee77d7c6cf (patch) | |
tree | b2e64a140a3bc9d9ce649ee67f8a687b6511d9f4 /plugins/example_api | |
parent | aca75cb5cb323535099c7aef46a78ea3cec082f2 (diff) |
remove $link
Diffstat (limited to 'plugins/example_api')
-rw-r--r-- | plugins/example_api/init.php | 2 |
1 files changed, 0 insertions, 2 deletions
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); |