Commit 07e9d0d2 authored by mkanat%kerio.com's avatar mkanat%kerio.com

Bug 281599: Remove RelationSet from Bugzilla::BugMail

Patch By Max Kanat-Alexander <mkanat@kerio.com> r=LpSolit, a=myk
parent 151e10f5
......@@ -35,8 +35,6 @@ use base qw(Exporter);
PerformSubsts
);
use Bugzilla::RelationSet;
use Bugzilla::Config qw(:DEFAULT $datadir);
use Bugzilla::Util;
......@@ -181,9 +179,13 @@ sub ProcessOneBug($) {
trick_taint($start);
trick_taint($end);
my $ccSet = new Bugzilla::RelationSet();
$ccSet->mergeFromDB("SELECT who FROM cc WHERE bug_id = $id");
$values{'cc'} = $ccSet->toString();
my $cc_ref = Bugzilla->dbh->selectcol_arrayref(
q{SELECT profiles.login_name FROM cc, profiles
WHERE bug_id = ?
AND cc.who = profiles.userid
ORDER BY profiles.login_name},
undef, $id);
$values{'cc'} = join(',', @$cc_ref);
my @voterList;
SendSQL("SELECT profiles.login_name FROM votes, profiles " .
......
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