aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth/provider/db.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-11 10:54:55 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-11 10:56:04 -0400
commit3c11052fb3896b43685f596dc6e52f9cc07d6807 (patch)
treee602f45a026c47250a132051c2afbd230073f820 /phpBB/includes/auth/provider/db.php
parent2fcae1ca16d096d2839b487e8c1bcbe0f313d91f (diff)
downloadforums-3c11052fb3896b43685f596dc6e52f9cc07d6807.tar
forums-3c11052fb3896b43685f596dc6e52f9cc07d6807.tar.gz
forums-3c11052fb3896b43685f596dc6e52f9cc07d6807.tar.bz2
forums-3c11052fb3896b43685f596dc6e52f9cc07d6807.tar.xz
forums-3c11052fb3896b43685f596dc6e52f9cc07d6807.zip
[feature/auth-refactor] Have a base auth class
PHPBB3-9734
Diffstat (limited to 'phpBB/includes/auth/provider/db.php')
-rw-r--r--phpBB/includes/auth/provider/db.php43
1 files changed, 2 insertions, 41 deletions
diff --git a/phpBB/includes/auth/provider/db.php b/phpBB/includes/auth/provider/db.php
index 894041c9cf..b9b808cb5d 100644
--- a/phpBB/includes/auth/provider/db.php
+++ b/phpBB/includes/auth/provider/db.php
@@ -22,7 +22,8 @@ if (!defined('IN_PHPBB'))
*
* @package auth
*/
-class phpbb_auth_provider_db implements phpbb_auth_provider_interface
+class phpbb_auth_provider_db extends phpbb_auth_provider_base
+ implements phpbb_auth_provider_interface
{
/**
@@ -48,14 +49,6 @@ class phpbb_auth_provider_db implements phpbb_auth_provider_interface
/**
* {@inheritdoc}
*/
- public function init()
- {
- return;
- }
-
- /**
- * {@inheritdoc}
- */
public function login($username, $password)
{
// Auth plugins get the password untrimmed.
@@ -302,36 +295,4 @@ class phpbb_auth_provider_db implements phpbb_auth_provider_interface
'user_row' => $row,
);
}
-
- /**
- * {@inheritdoc}
- */
- public function autologin()
- {
- return;
- }
-
- /**
- * {@inheritdoc}
- */
- public function acp($new)
- {
- return;
- }
-
- /**
- * {@inheritdoc}
- */
- public function logout($data, $new_session)
- {
- return;
- }
-
- /**
- * {@inheritdoc}
- */
- public function validate_session($user)
- {
- return;
- }
}