summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-02-04 19:23:47 +0100
committerlpsolit%gmail.com <>2008-02-04 19:23:47 +0100
commit7f16a9065617dd087712f9daad630967f4695585 (patch)
tree9576276b38a35105f719efc4d38b841596a0b133 /attachment.cgi
parent3648734c240133eb65934f0548f43850d59472e7 (diff)
downloadbugzilla-7f16a9065617dd087712f9daad630967f4695585.tar.gz
bugzilla-7f16a9065617dd087712f9daad630967f4695585.tar.xz
Bug 413772: Eliminate sqlify_criteria() in Bugzilla::Flag and replace match() there with Bugzilla::Object::match() - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r/a=LpSolit
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 65a8aa539..449abde65 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -423,7 +423,7 @@ sub edit {
'product_id' => $product_id ,
'component_id' => $component_id });
foreach my $flag_type (@$flag_types) {
- $flag_type->{'flags'} = Bugzilla::Flag::match({ 'type_id' => $flag_type->id,
+ $flag_type->{'flags'} = Bugzilla::Flag->match({ 'type_id' => $flag_type->id,
'attach_id' => $attachment->id });
}
$vars->{'flag_types'} = $flag_types;
@@ -529,7 +529,7 @@ sub update {
# to attachments so that we can delete pending requests if the user
# is obsoleting this attachment without deleting any requests
# the user submits at the same time.
- Bugzilla::Flag::process($bug, $attachment, $timestamp, $cgi, $vars);
+ Bugzilla::Flag->process($bug, $attachment, $timestamp, $cgi, $vars);
# Update the attachment record in the database.
$dbh->do("UPDATE attachments