mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 14:55:56 +00:00
remove $link
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user