diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-07-13 22:29:12 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-07-13 22:29:12 +0200 |
commit | 2015e32e3bd6922d0697a875ecdc810243c887f0 (patch) | |
tree | b35758dd8f133f2d81e1f63e6a15177e230c5af9 /application/libraries/Duser/Duser.php | |
parent | 0d173835ee7f411cbfe39b8d0d3bb9dbd8a0acda (diff) |
duser: add get_email()
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Duser/Duser.php')
-rw-r--r-- | application/libraries/Duser/Duser.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/application/libraries/Duser/Duser.php b/application/libraries/Duser/Duser.php index 3bc492b71..19d1bfa09 100644 --- a/application/libraries/Duser/Duser.php +++ b/application/libraries/Duser/Duser.php @@ -92,4 +92,11 @@ class Duser extends CI_Driver_Library { return $this->{$this->_adapter}->username_exists($username); } + + public function get_email($userid) + { + $this->require_implemented(__FUNCTION__); + + return $this->{$this->_adapter}->get_email($userid); + } } |