diff options
author | lpsolit%gmail.com <> | 2006-06-20 05:15:17 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-20 05:15:17 +0200 |
commit | 2545c0950c4f0fde8f78b265217fa9f523eff7bf (patch) | |
tree | 5bb305644ad11da196c7613b82743e426e2fd337 /editversions.cgi | |
parent | b687ddef9b6dfeec3d87b7ae211decbf21b6e9a9 (diff) | |
download | bugzilla-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 'editversions.cgi')
-rwxr-xr-x | editversions.cgi | 7 |
1 files changed, 0 insertions, 7 deletions
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; } |