diff options
author | lpsolit%gmail.com <> | 2006-05-17 07:49:12 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-05-17 07:49:12 +0200 |
commit | 157112a527273a0010b23ded67856d671dd757f0 (patch) | |
tree | eff464a85ed5a996be40339d80ffb5bbbbd310f6 /attachment.cgi | |
parent | 7640676d0bd7f09e52e645c454b7fed8eb937c20 (diff) | |
download | bugzilla-157112a527273a0010b23ded67856d671dd757f0.tar.gz bugzilla-157112a527273a0010b23ded67856d671dd757f0.tar.xz |
Bug 300549: Eliminate deprecated Bugzilla::DB routines from Flag.pm and FlagType.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi index fbe0bd054..bbccbd912 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -1045,7 +1045,7 @@ sub insert foreach my $obsolete_id (@obsolete_ids) { # If the obsolete attachment has request flags, cancel them. # This call must be done before updating the 'attachments' table. - Bugzilla::Flag::CancelRequests($bugid, $obsolete_id, $dbh->quote($timestamp)); + Bugzilla::Flag::CancelRequests($bugid, $obsolete_id, $timestamp); $dbh->do("UPDATE attachments SET isobsolete = 1 " . "WHERE attach_id = ?", undef, $obsolete_id); |