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