Browse Source

removed unused functions

develop
Raphael Jackstadt 10 years ago
parent
commit
6b68f4c21e
  1. 36
      application/libraries/Aauth.php

36
application/libraries/Aauth.php

@ -884,42 +884,6 @@ class Aauth {
return FALSE;
}
/**
* user_exsist_by_id
* Check if user exist by user id
* @param $user_id
*
* @return bool
*/
public function user_exsist_by_id( $user_id ) {
$query = $this->aauth_db->where('id', $user_id);
$query = $this->aauth_db->get($this->config_vars['users']);
if ($query->num_rows() > 0)
return TRUE;
else
return FALSE;
}
/**
* user_exsist_by_name
* Check if user exist by name
* @param $user_id
*
* @return bool
*/
public function user_exsist_by_name( $name ) {
$query = $this->aauth_db->where('name', $name);
$query = $this->aauth_db->get($this->config_vars['users']);
if ($query->num_rows() > 0)
return TRUE;
else
return FALSE;
}
/**
* user_exsist_by_email
* Check if user exsist by user email

Loading…
Cancel
Save