summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-16 16:26:35 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-16 16:26:35 +0200
commita301dbf1cbe6d001e3488c458fd0868ff0608888 (patch)
tree877a634b83b7478cdc1d5dd07616f01f89d4257b
parent32cd82fc017195480a0d73acc19c7c64962153da (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>
-rw-r--r--application/libraries/Duser/Duser.php2
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) {