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 --- editversions.cgi | 7 ------- 1 file changed, 7 deletions(-) (limited to 'editversions.cgi') diff --git a/editversions.cgi b/editversions.cgi index c245bdb9f..c060657d2 100755 --- a/editversions.cgi +++ b/editversions.cgi @@ -144,9 +144,6 @@ if ($action eq 'new') { $dbh->do("INSERT INTO versions (value, product_id) VALUES (?, ?)", undef, ($version_name, $product->id)); - # Make versioncache flush - unlink "$datadir/versioncache"; - $version = new Bugzilla::Version($product->id, $version_name); $vars->{'version'} = $version; $vars->{'product'} = $product; @@ -201,8 +198,6 @@ if ($action eq 'delete') { $dbh->do("DELETE FROM versions WHERE product_id = ? AND value = ?", undef, ($product->id, $version->name)); - unlink "$datadir/versioncache"; - $vars->{'version'} = $version; $vars->{'product'} = $product; @@ -279,8 +274,6 @@ if ($action eq 'update') { WHERE product_id = ? AND value = ?", undef, ($version_name, $product->id, $version_old->name)); - unlink "$datadir/versioncache"; - $vars->{'updated_name'} = 1; } -- cgit v1.2.3-24-g4f1b