]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/auth_remote/init.php
fix some missing constructor parameters
[tt-rss.git] / plugins / auth_remote / init.php
index f0da1afc8b51ee9d0dc685f5b19d46a291d60ff6..a87eea5990e5c7601195c7271f6f94c9015beda5 100644 (file)
@@ -11,9 +11,9 @@ class Auth_Remote extends Plugin implements IAuthModule {
                        true);
        }
 
-       function init($host) {
+       function init($dbh, host) {
                $this->host = $host;
-               $this->base = new Auth_Base();
+               $this->base = new Auth_Base($dbh);
 
                $host->add_hook($host::HOOK_AUTH_USER, $this);
        }