oil g admin users username:varchar[50] password:string group:int email:string last_login:int login_hash:string profile_fields:text
Undefined variable: current_user
APPPATH/classes/model/user.php @ line 44
public static function all_users_except_current_user() {
$logged_in_username = \Auth::get('username');
$result = Model_User::find('all', array(
'where' => array(
array('username', '<>', $logged_in_username),
),
));
return $result;
}
It looks like you're new here. If you want to get involved, click one of these buttons!