From b4c91adafa45e4e1146ca1dabab27404dac6bab6 Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Thu, 6 May 2010 22:44:58 -0500 Subject: Bug 395451 - "Bugzilla::BugMail needs to use Bug objects internally instead of direct SQL" [r=mkanat a=mkanat] --- sanitycheck.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sanitycheck.cgi') diff --git a/sanitycheck.cgi b/sanitycheck.cgi index c298d1250..63872bd49 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -248,7 +248,7 @@ if ($cgi->param('rescanallBugMail')) { # and so choosing this user as being the last one having done a change # for the bug may be problematic. So the best we can do at this point # is to choose the currently logged in user for email notification. - $vars->{'changer'} = Bugzilla->user->login; + $vars->{'changer'} = Bugzilla->user; foreach my $bugid (@$list) { Bugzilla::BugMail::Send($bugid, $vars); -- cgit v1.2.3-24-g4f1b