Skip to content

Commit

Permalink
removed already existing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
code2prog committed Nov 2, 2014
1 parent 4491a03 commit 6b1723e
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -821,23 +821,6 @@ public function user_exsist_by_id( $user_id ) {
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
Expand Down

0 comments on commit 6b1723e

Please sign in to comment.