summaryrefslogtreecommitdiffstats
path: root/editcomponents.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-09-29 03:42:23 +0200
committermyk%mozilla.org <>2002-09-29 03:42:23 +0200
commit91b171e7584920d03abb9c45e779c84f3dee975c (patch)
treefc59becfe02d1a4dc84e5f3501f0139effcf1c7a /editcomponents.cgi
parent90975fe914d066726d06f53abe8696399b13a61a (diff)
downloadbugzilla-91b171e7584920d03abb9c45e779c84f3dee975c.tar.gz
bugzilla-91b171e7584920d03abb9c45e779c84f3dee975c.tar.xz
Fix for bug 98801: Implementation of the request tracker, a set of enhancements to attachment statuses.
r=gerv,bbaetz
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi10
1 files changed, 9 insertions, 1 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 7ad81ddfa..fc45b52c8 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -581,7 +581,9 @@ if ($action eq 'delete') {
bugs WRITE,
bugs_activity WRITE,
components WRITE,
- dependencies WRITE");
+ dependencies WRITE,
+ flaginclusions WRITE,
+ flagexclusions WRITE");
# According to MySQL doc I cannot do a DELETE x.* FROM x JOIN Y,
# so I have to iterate over bugs and delete all the indivial entries
@@ -610,6 +612,12 @@ if ($action eq 'delete') {
print "Bugs deleted.<BR>\n";
}
+ SendSQL("DELETE FROM flaginclusions
+ WHERE component_id=$component_id");
+ SendSQL("DELETE FROM flagexclusions
+ WHERE component_id=$component_id");
+ print "Flag inclusions and exclusions deleted.<BR>\n";
+
SendSQL("DELETE FROM components
WHERE id=$component_id");
print "Components deleted.<P>\n";