summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-18 23:08:44 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-18 23:08:44 +0200
commitdaa75a7f360ce8fa3fd90d6a98277483d8b9ddd7 (patch)
treefc61671cdbe1f9b457e45967359b126b04ef6739
parenta2beb79797dabc36159b2628c9d878f8dc2948e1 (diff)
downloadbugzilla-daa75a7f360ce8fa3fd90d6a98277483d8b9ddd7.tar.gz
bugzilla-daa75a7f360ce8fa3fd90d6a98277483d8b9ddd7.tar.xz
Forgot to remove some code
-rw-r--r--Bugzilla/WebService/User.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/Bugzilla/WebService/User.pm b/Bugzilla/WebService/User.pm
index ad3183d4a..05bbf90ca 100644
--- a/Bugzilla/WebService/User.pm
+++ b/Bugzilla/WebService/User.pm
@@ -204,9 +204,6 @@ sub get {
my $in_group = $self->_filter_users_by_group(
\@user_objects, $params);
- # Make the @users array bigger in advance to gain some performance.
- $#users += $#$in_group;
-
foreach my $user (@$in_group) {
my $user_info = {
id => $self->type('int', $user->id),