Skip to content

Commit

Permalink
found a missing aauth_db
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed May 31, 2015
1 parent 59bbfdd commit 7617a79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -936,9 +936,9 @@ public function is_banned($user_id) {
* @return bool
*/
public function user_exsist_by_name( $name ) {
$query = $this->CI->db->where('name', $name);
$query = $this->aauth_db->where('name', $name);

$query = $this->CI->db->get($this->config_vars['users']);
$query = $this->aauth_db->get($this->config_vars['users']);

if ($query->num_rows() > 0)
return TRUE;
Expand Down

0 comments on commit 7617a79

Please sign in to comment.