mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
auth_remote: fix typo
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
<?php
|
||||
class Auth_Base {
|
||||
protected $dbh;
|
||||
|
||||
function __construct($dbh) {
|
||||
$this->dbh = $dbh;
|
||||
}
|
||||
|
||||
function check_password($owner_uid, $password) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -11,9 +11,9 @@ class Auth_Remote extends Plugin implements IAuthModule {
|
||||
true);
|
||||
}
|
||||
|
||||
function init($dbh, host) {
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
$this->base = new Auth_Base($dbh);
|
||||
$this->base = new Auth_Base();
|
||||
|
||||
$host->add_hook($host::HOOK_AUTH_USER, $this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user