From 2545c0950c4f0fde8f78b265217fa9f523eff7bf Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 20 Jun 2006 03:15:17 +0000 Subject: Bug 304601: Bugzilla::Config's :locations exports need to be in their own module - Patch by Frédéric Buclin r=mkanat for the main patch, r=myk for the patch about CGI.pm a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug 328637: Remove all legal_* versioncache arrays - Patch by Frédéric Buclin r=mkanat a=justdave Bug 110503 - Eliminate versioncache --- editmilestones.cgi | 8 -------- 1 file changed, 8 deletions(-) (limited to 'editmilestones.cgi') 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; } -- cgit v1.2.3-24-g4f1b