auth_remote: fix typo

master
Andrew Dolgov 12 years ago
parent 57bac1bea9
commit a0ed0d38d4

@ -1,11 +1,5 @@
<?php <?php
class Auth_Base { class Auth_Base {
protected $dbh;
function __construct($dbh) {
$this->dbh = $dbh;
}
function check_password($owner_uid, $password) { function check_password($owner_uid, $password) {
return false; return false;
} }

@ -11,9 +11,9 @@ class Auth_Remote extends Plugin implements IAuthModule {
true); true);
} }
function init($dbh, host) { function init($host) {
$this->host = $host; $this->host = $host;
$this->base = new Auth_Base($dbh); $this->base = new Auth_Base();
$host->add_hook($host::HOOK_AUTH_USER, $this); $host->add_hook($host::HOOK_AUTH_USER, $this);
} }

Loading…
Cancel
Save