]> git.wh0rd.org - tt-rss.git/commitdiff
fix auth_base referencing dbh which was not present
authorAndrew Dolgov <fox@fakecake.org>
Thu, 18 Apr 2013 11:36:54 +0000 (15:36 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Thu, 18 Apr 2013 11:36:54 +0000 (15:36 +0400)
classes/auth/base.php

index 284ac1d38f9721c6754158c73f232c5fd290f40b..83f99d109f8ff66a2dba0759ea7d4c2d1a20249f 100644 (file)
@@ -1,5 +1,11 @@
 <?php
 class Auth_Base {
+       private $dbh;
+
+       function __construct() {
+               $this->dbh = Db::get();
+       }
+
        function check_password($owner_uid, $password) {
                return false;
        }