diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-09-16 16:26:35 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-09-16 16:26:35 +0200 |
commit | a301dbf1cbe6d001e3488c458fd0868ff0608888 (patch) | |
tree | 877a634b83b7478cdc1d5dd07616f01f89d4257b /application/libraries/Duser/Duser.php | |
parent | 32cd82fc017195480a0d73acc19c7c64962153da (diff) |
Duser_Driver/username_exists: return null if not implemented
false means we know it doesn't exist, null means we don't know.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Duser/Duser.php')
-rw-r--r-- | application/libraries/Duser/Duser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Duser/Duser.php b/application/libraries/Duser/Duser.php index ecb0cd9c7..42d6b1d62 100644 --- a/application/libraries/Duser/Duser.php +++ b/application/libraries/Duser/Duser.php @@ -29,7 +29,7 @@ abstract class Duser_Driver extends CI_Driver { abstract public function login($username, $password); public function username_exists($username) { - return false; + return null; } public function get_email($userid) { |