From 6b1723e95a4d1c96fa40ed4ef129055133a7e9bc Mon Sep 17 00:00:00 2001 From: Dawid Myszczyszyn Date: Sun, 2 Nov 2014 03:34:11 +0000 Subject: [PATCH] removed already existing functions --- application/libraries/Aauth.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index 85e6769..c8aa727 100644 --- a/application/libraries/Aauth.php +++ b/application/libraries/Aauth.php @@ -821,23 +821,6 @@ class Aauth { return FALSE; } - /** - * user_exsist_by_email - * Check if user exsist by user email - * @param $user_email - * - * @return bool - */ - public function user_exsist_by_email( $user_email ) { - $query = $this->CI->db->where('email', $user_email); - - $query = $this->CI->db->get($this->config_vars['users']); - - if ($query->num_rows() > 0) - return TRUE; - else - return FALSE; - } /** * Get user id