From 6b68f4c21e0ce59fab3eee3bf28469604677c2cd Mon Sep 17 00:00:00 2001 From: Raphael Jackstadt Date: Tue, 12 May 2015 17:44:45 +0200 Subject: [PATCH] removed unused functions --- application/libraries/Aauth.php | 36 --------------------------------- 1 file changed, 36 deletions(-) diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index 09afbdf..15dd7f5 100644 --- a/application/libraries/Aauth.php +++ b/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