mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 17:57:29 +00:00
remove $link
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
class Example_Article extends Plugin {
|
||||
|
||||
private $link;
|
||||
private $host;
|
||||
|
||||
function about() {
|
||||
@@ -12,7 +11,6 @@ class Example_Article extends Plugin {
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->link = $host->get_link();
|
||||
$this->host = $host;
|
||||
|
||||
$host->add_hook($host::HOOK_RENDER_ARTICLE, $this);
|
||||
|
||||
Reference in New Issue
Block a user