فهرست منبع

auth_remote: fix typo

Andrew Dolgov 11 سال پیش
والد
کامیت
a0ed0d38d4
2فایلهای تغییر یافته به همراه2 افزوده شده و 8 حذف شده
  1. 0 6
      classes/auth/base.php
  2. 2 2
      plugins/auth_remote/init.php

+ 0 - 6
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;
 	}

+ 2 - 2
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);
 	}