From 32cd82fc017195480a0d73acc19c7c64962153da Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 15 Sep 2013 23:17:46 +0200 Subject: Add default get_email to Duser_Driver This fixes a possible endless loop when the function is not implemented in the driver, but the array says it is. It also allows us to simply call it without checking if it's implemented. Signed-off-by: Florian Pritz --- application/models/muser.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'application/models/muser.php') diff --git a/application/models/muser.php b/application/models/muser.php index 2dd7280e8..7a3627b18 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -142,10 +142,6 @@ class Muser extends CI_Model { function get_email($userid) { - if (!$this->duser->is_implemented("get_email")) { - return false; - } - return $this->duser->get_email($userid); } -- cgit v1.2.3-24-g4f1b