diff options
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-x | editcomponents.cgi | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi index 30caaf5f3..e063c1b10 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -175,8 +175,6 @@ if ($action eq 'new') { # Insert default charting queries for this product. # If they aren't using charting, this won't do any harm. - GetVersionTable(); - my @series; my $prodcomp = "&product=" . url_quote($product->name) . @@ -208,9 +206,6 @@ if ($action eq 'new') { $series->writeToDatabase(); } - # Make versioncache flush - unlink "$datadir/versioncache"; - $component = new Bugzilla::Component({product_id => $product->id, name => $comp_name}); @@ -280,8 +275,6 @@ if ($action eq 'delete') { $dbh->bz_unlock_tables(); - unlink "$datadir/versioncache"; - $vars->{'comp'} = $component; $vars->{'product'} = $product; $template->process("admin/components/deleted.html.tmpl", $vars) @@ -367,7 +360,6 @@ if ($action eq 'update') { $dbh->do("UPDATE components SET name = ? WHERE id = ?", undef, ($comp_name, $component_old->id)); - unlink "$datadir/versioncache"; $vars->{'updated_name'} = 1; } |