mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 11:55:57 +00:00
plugin cleanup re: phpstan 1.0 warnings
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<?php
|
||||
class Auth_Internal extends Auth_Base {
|
||||
|
||||
private $host;
|
||||
|
||||
function about() {
|
||||
return array(null,
|
||||
"Authenticates against internal tt-rss database",
|
||||
@@ -10,10 +8,7 @@ class Auth_Internal extends Auth_Base {
|
||||
true);
|
||||
}
|
||||
|
||||
/* @var PluginHost $host */
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
|
||||
$host->add_hook($host::HOOK_AUTH_USER, $this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user