mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:05:56 +00:00
plugin cleanup re: phpstan 1.0 warnings
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
class No_Iframes extends Plugin {
|
||||
private $host;
|
||||
|
||||
function about() {
|
||||
return array(null,
|
||||
@@ -9,8 +8,6 @@ class No_Iframes extends Plugin {
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
|
||||
$host->add_hook($host::HOOK_SANITIZE, $this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user