summaryrefslogtreecommitdiffstats
path: root/editversions.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-xeditversions.cgi7
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;
}