mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 15:01:29 +00:00
more work on user-selectable plugins; properly process system and user plugins
This commit is contained in:
@@ -3,14 +3,14 @@ class Flattr extends Plugin {
|
||||
private $link;
|
||||
private $host;
|
||||
|
||||
function __construct($host) {
|
||||
function init($host) {
|
||||
$this->link = $host->get_link();
|
||||
$this->host = $host;
|
||||
|
||||
$host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
|
||||
}
|
||||
|
||||
function _about() {
|
||||
function about() {
|
||||
return array(1.0,
|
||||
"Share on Flattr plugin",
|
||||
"Nic Honing");
|
||||
|
||||
Reference in New Issue
Block a user