[bugzilla-gnome-org-extensions] weekly bug summary: Stop using deprecated new invocation



commit 477e52310cdf8565a97c6222c076851b45a07c69
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Thu Nov 13 21:28:45 2014 +0100

    weekly bug summary: Stop using deprecated new invocation

 WeeklyBugSummary/lib/Util.pm |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/WeeklyBugSummary/lib/Util.pm b/WeeklyBugSummary/lib/Util.pm
index 1f8ffaf..d4119e5 100644
--- a/WeeklyBugSummary/lib/Util.pm
+++ b/WeeklyBugSummary/lib/Util.pm
@@ -469,7 +469,7 @@ sub get_bug_hunters_list {
     foreach my $rowRef (@$hunterlist) {
         my($userid, $count) = @$rowRef;
 
-        push(@$rowRef, new Bugzilla::User($userid));
+        push(@$rowRef, Bugzilla::User->new($userid));
         if ($links eq "yes") {
             my $buglist = &get_hunter_bugs($userid, $days, $keyword, $version,
                                            $classification_id, $product_id);
@@ -600,7 +600,7 @@ sub get_bug_reporters_list {
     foreach my $rowRef (@$reporterlist) {
         my ($userid, $count) = @$rowRef;
 
-        push(@$rowRef, new Bugzilla::User($userid));
+        push(@$rowRef, Bugzilla::User->new($userid));
         if ($links eq "yes") {
             my $buglist = &get_reporter_bugs($userid, $days, $keyword,
                                              $version, $classification_id,
@@ -721,7 +721,7 @@ sub get_patch_submitters_list {
     foreach my $rowRef (@$submitterlist) {
         my ($userid, $count) = @$rowRef;
 
-        push(@$rowRef, new Bugzilla::User($userid));
+        push(@$rowRef, Bugzilla::User->new($userid));
 #        if ($links eq "yes") {
 #            my $buglist = &get_reporter_bugs($userid, $days, $keyword, $version);
 #            push(@$rowRef, $buglist);
@@ -790,7 +790,7 @@ sub get_patch_reviewers_list {
     foreach my $rowRef (@$hunterlist) {
         my($userid, $count) = @$rowRef;
 
-        push(@$rowRef, new Bugzilla::User($userid));
+        push(@$rowRef, Bugzilla::User->new($userid));
 #        if ($links eq "yes") {
 #            my $buglist = &get_hunter_bugs($userid, $days, $keyword, $version);
 #            push(@$rowRef, $buglist);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]