summaryrefslogtreecommitdiffstats
path: root/editmilestones.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-20 05:15:17 +0200
committerlpsolit%gmail.com <>2006-06-20 05:15:17 +0200
commit2545c0950c4f0fde8f78b265217fa9f523eff7bf (patch)
tree5bb305644ad11da196c7613b82743e426e2fd337 /editmilestones.cgi
parentb687ddef9b6dfeec3d87b7ae211decbf21b6e9a9 (diff)
downloadbugzilla-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar.gz
bugzilla-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar.xz
Bug 304601: Bugzilla::Config's :locations exports need to be in their own module - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat for the main patch, r=myk for the patch about CGI.pm a=justdave
Bug 328637: Remove all legal_* versioncache arrays - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave Bug 110503 - Eliminate versioncache
Diffstat (limited to 'editmilestones.cgi')
-rwxr-xr-xeditmilestones.cgi8
1 files changed, 0 insertions, 8 deletions
diff --git a/editmilestones.cgi b/editmilestones.cgi
index 8d9cbe973..8e2a6e3f4 100755
--- a/editmilestones.cgi
+++ b/editmilestones.cgi
@@ -144,9 +144,6 @@ if ($action eq 'new') {
VALUES ( ?, ?, ? )',
undef, $milestone_name, $product->id, $sortkey);
- # Make versioncache flush
- unlink "$datadir/versioncache";
-
$milestone = new Bugzilla::Milestone($product->id,
$milestone_name);
$vars->{'milestone'} = $milestone;
@@ -227,8 +224,6 @@ if ($action eq 'delete') {
$dbh->do("DELETE FROM milestones WHERE product_id = ? AND value = ?",
undef, ($product->id, $milestone->name));
- unlink "$datadir/versioncache";
-
$template->process("admin/milestones/deleted.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;
@@ -292,7 +287,6 @@ if ($action eq 'update') {
$product->id,
$milestone_old->name);
- unlink "$datadir/versioncache";
$vars->{'updated_sortkey'} = 1;
}
@@ -337,8 +331,6 @@ if ($action eq 'update') {
$product->id,
$milestone_old->name);
- unlink "$datadir/versioncache";
-
$vars->{'updated_name'} = 1;
}