diff options
author | lpsolit%gmail.com <> | 2008-02-04 19:23:47 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-02-04 19:23:47 +0100 |
commit | 7f16a9065617dd087712f9daad630967f4695585 (patch) | |
tree | 9576276b38a35105f719efc4d38b841596a0b133 /Bugzilla/Attachment.pm | |
parent | 3648734c240133eb65934f0548f43850d59472e7 (diff) | |
download | bugzilla-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 'Bugzilla/Attachment.pm')
-rw-r--r-- | Bugzilla/Attachment.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 954765f03..b4ac9e6f0 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -426,7 +426,7 @@ sub flags { my $self = shift; return $self->{flags} if exists $self->{flags}; - $self->{flags} = Bugzilla::Flag::match({ 'attach_id' => $self->id }); + $self->{flags} = Bugzilla::Flag->match({ 'attach_id' => $self->id }); return $self->{flags}; } @@ -918,7 +918,7 @@ sub insert_attachment_for_bug { Bugzilla->error_mode(ERROR_MODE_DIE); eval { Bugzilla::Flag::validate($cgi, $bug->bug_id, -1, SKIP_REQUESTEE_ON_ERROR); - Bugzilla::Flag::process($bug, $attachment, $timestamp, $cgi, $hr_vars); + Bugzilla::Flag->process($bug, $attachment, $timestamp, $cgi, $hr_vars); }; Bugzilla->error_mode($error_mode_cache); if ($@) { |