diff options
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); |