summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 18:27:41 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 18:27:41 +0400
commita0ed0d38d467a7ceb5e576e8b363b5ee1af05ab1 (patch)
tree554402fc9878da512b2535c6a40155115b969364
parent57bac1bea99cdac24305c53272a48821e52a7c2e (diff)
auth_remote: fix typo
-rw-r--r--classes/auth/base.php6
-rw-r--r--plugins/auth_remote/init.php4
2 files changed, 2 insertions, 8 deletions
diff --git a/classes/auth/base.php b/classes/auth/base.php
index c2a6bd704..102a19778 100644
--- a/classes/auth/base.php
+++ b/classes/auth/base.php
@@ -1,11 +1,5 @@
<?php
class Auth_Base {
- protected $dbh;
-
- function __construct($dbh) {
- $this->dbh = $dbh;
- }
-
function check_password($owner_uid, $password) {
return false;
}
diff --git a/plugins/auth_remote/init.php b/plugins/auth_remote/init.php
index a87eea599..f0da1afc8 100644
--- a/plugins/auth_remote/init.php
+++ b/plugins/auth_remote/init.php
@@ -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);
}