From c92b1bd7538ed0eb18bdb3a1401fe4d0010bfdeb Mon Sep 17 00:00:00 2001 From: Christoph Burschka Date: Fri, 2 Nov 2012 23:19:12 +0100 Subject: Renaming phpbb versions properly. --- plugins/phpbb3/BridgePhpBB3.php | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 plugins/phpbb3/BridgePhpBB3.php (limited to 'plugins/phpbb3/BridgePhpBB3.php') diff --git a/plugins/phpbb3/BridgePhpBB3.php b/plugins/phpbb3/BridgePhpBB3.php deleted file mode 100644 index bc7d8c8..0000000 --- a/plugins/phpbb3/BridgePhpBB3.php +++ /dev/null @@ -1,36 +0,0 @@ -auth = $auth; - $this->db = $db; - } - - function isuser($username, $server) { - $username_clean = utf8_clean_string($username); - $row = $this->db->sql_fetchrow($this->db->sql_query('SELECT username FROM ' . USERS_TABLE . ' WHERE username_clean = ' . "'" . $this->db->sql_escape($username_clean) . "'" . ';')); - return !empty($row); - } - - function auth($username, $server, $password) { - $result = $this->auth->login($username, $password); - return $result['status'] == LOGIN_SUCCESS; - } - - // The following functions are disabled. This script will not change the phpBB user database. - - function setpass($username, $server, $password) { - return FALSE; - } - - function tryregister($username, $server, $password) { - return FALSE; - } - - function removeuser($username, $server) { - return FALSE; - } -} -- cgit v1.1