summaryrefslogtreecommitdiffstats
path: root/Bugzilla/FlagType.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-04-15 01:50:39 +0200
committerlpsolit%gmail.com <>2006-04-15 01:50:39 +0200
commit344149d0e639267412ca0e2ccd95c2872e9350d9 (patch)
tree27b64e7e1c6e35367803bce5a35f7addfc1337c6 /Bugzilla/FlagType.pm
parentbd0e09be136d808154320d61bf2725e2324c2243 (diff)
downloadbugzilla-344149d0e639267412ca0e2ccd95c2872e9350d9.tar.gz
bugzilla-344149d0e639267412ca0e2ccd95c2872e9350d9.tar.xz
Bug 322285: Cancelling a flag should remove it completely from the DB - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'Bugzilla/FlagType.pm')
-rw-r--r--Bugzilla/FlagType.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm
index 950aeea9a..b18c4a2de 100644
--- a/Bugzilla/FlagType.pm
+++ b/Bugzilla/FlagType.pm
@@ -474,7 +474,6 @@ sub normalize {
AND (bugs.product_id = i.product_id OR i.product_id IS NULL)
AND (bugs.component_id = i.component_id OR i.component_id IS NULL))
WHERE flags.type_id IN ($ids)
- AND flags.is_active = 1
AND i.type_id IS NULL
");
Bugzilla::Flag::clear(&::FetchOneColumn()) while &::MoreSQLData();
@@ -485,7 +484,6 @@ sub normalize {
WHERE flags.type_id IN ($ids)
AND flags.bug_id = bugs.bug_id
AND flags.type_id = e.type_id
- AND flags.is_active = 1
AND (bugs.product_id = e.product_id OR e.product_id IS NULL)
AND (bugs.component_id = e.component_id OR e.component_id IS NULL)
");