diff options
Diffstat (limited to 'application/models/muser.php')
-rw-r--r-- | application/models/muser.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/application/models/muser.php b/application/models/muser.php index 29c5a453f..947b87d97 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -108,6 +108,15 @@ class Muser extends CI_Model { return $this->session->userdata("userid"); } + function get_email($userid) + { + if (!$this->duser->is_implemented("get_email")) { + return false; + } + + return $this->duser->get_email($userid); + } + function require_access() { if ($this->logged_in()) { |