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 /editvalues.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 'editvalues.cgi')
-rwxr-xr-x | editvalues.cgi | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/editvalues.cgi b/editvalues.cgi index b0a1fbb71..2da48eed2 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -217,8 +217,6 @@ if ($action eq 'new') { VALUES ( ?, ? )"); $sth->execute($value, $sortkey); - unlink "$datadir/versioncache"; - $vars->{'value'} = $value; $vars->{'field'} = $field; $template->process("admin/fieldvalues/created.html.tmpl", @@ -287,8 +285,6 @@ if ($action eq 'delete') { $dbh->bz_unlock_tables(); - unlink "$datadir/versioncache"; - $vars->{'value'} = $value; $vars->{'field'} = $field; $template->process("admin/fieldvalues/deleted.html.tmpl", @@ -354,7 +350,6 @@ if ($action eq 'update') { $dbh->do("UPDATE $field SET sortkey = ? WHERE value = ?", undef, $sortkey, $valueold); - unlink "$datadir/versioncache"; $vars->{'updated_sortkey'} = 1; $vars->{'sortkey'} = $sortkey; } @@ -377,8 +372,6 @@ if ($action eq 'update') { $dbh->do("UPDATE $field SET value = ? WHERE value = ?", undef, $value, $valueold); - unlink "$datadir/versioncache"; - $vars->{'updated_value'} = 1; } @@ -387,13 +380,12 @@ if ($action eq 'update') { # If the old value was the default value for the field, # update data/params accordingly. # This update is done while tables are unlocked due to the - # annoying call to GetVersionTable in Bugzilla/Config/Common.pm. + # annoying calls in Bugzilla/Config/Common.pm. if ($value ne $valueold && $valueold eq Param($defaults{$field})) { SetParam($defaults{$field}, $value); WriteParams(); - unlink "$datadir/versioncache"; $vars->{'default_value_updated'} = 1; } |