summaryrefslogtreecommitdiffstats
path: root/application/libraries/Duser/drivers/Duser_db.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-16 16:49:58 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-16 16:49:58 +0200
commitbb9f9274e8c2d661a1adffd87c87c3d81ec47b4d (patch)
tree3a484bddf9f11da67c1c743443ae5140cf455fb9 /application/libraries/Duser/drivers/Duser_db.php
parent2172c2049fc8b8eca5dbed7b659a089e20d1fadd (diff)
Duser: Rework optional functions
Not implemented functions return null and code using these no longer has to check if they are implemented, but it has to handle null properly. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Duser/drivers/Duser_db.php')
-rw-r--r--application/libraries/Duser/drivers/Duser_db.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/application/libraries/Duser/drivers/Duser_db.php b/application/libraries/Duser/drivers/Duser_db.php
index 5252ec48e..0f4298258 100644
--- a/application/libraries/Duser/drivers/Duser_db.php
+++ b/application/libraries/Duser/drivers/Duser_db.php
@@ -14,10 +14,8 @@ class Duser_db extends Duser_Driver {
* will NOT work with other drivers.
*/
public $optional_functions = array(
- 'username_exists',
'can_reset_password',
'can_register_new_users',
- 'get_email',
);
public function login($username, $password)