Skip to content

Commit

Permalink
Update Aauth.php
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed Aug 9, 2014
1 parent 16f8113 commit d255234
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -1808,11 +1808,7 @@ public function list_user_var_keys($user_id = false){
// if variable not set
if ($query->num_rows() < 1) { return false;}
else {
$clean_array = array();
foreach($query->result_array() as $row){
$clean_array[] = $row['key'];
}
return (object) $clean_array;
return $query->result();
}

}
Expand Down

1 comment on commit d255234

@emreakay
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will merge the commit when I get back to home. In addition We can also add list_system_var_keys() function

Please sign in to comment.