Commit daa75a7f authored by Frédéric Buclin's avatar Frédéric Buclin

Forgot to remove some code

parent a2beb797
...@@ -204,9 +204,6 @@ sub get { ...@@ -204,9 +204,6 @@ sub get {
my $in_group = $self->_filter_users_by_group( my $in_group = $self->_filter_users_by_group(
\@user_objects, $params); \@user_objects, $params);
# Make the @users array bigger in advance to gain some performance.
$#users += $#$in_group;
foreach my $user (@$in_group) { foreach my $user (@$in_group) {
my $user_info = { my $user_info = {
id => $self->type('int', $user->id), id => $self->type('int', $user->id),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment