]> git.wh0rd.org Git - tt-rss.git/commitdiff
auth_remote: fix typo
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 17 Apr 2013 14:27:41 +0000 (18:27 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 17 Apr 2013 14:27:41 +0000 (18:27 +0400)
classes/auth/base.php
plugins/auth_remote/init.php

index c2a6bd70450fb2306dcd48d7c704b93dd398db49..102a19778beee2559aeb2bac499ea2e6db8f6362 100644 (file)
@@ -1,11 +1,5 @@
 <?php
 class Auth_Base {
-       protected $dbh;
-
-       function __construct($dbh) {
-               $this->dbh = $dbh;
-       }
-
        function check_password($owner_uid, $password) {
                return false;
        }
index a87eea5990e5c7601195c7271f6f94c9015beda5..f0da1afc8b51ee9d0dc685f5b19d46a291d60ff6 100644 (file)
@@ -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);
        }