diff options
author | lpsolit%gmail.com <> | 2006-06-20 03:15:17 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-20 03:15:17 +0000 |
commit | 2545c0950c4f0fde8f78b265217fa9f523eff7bf (patch) | |
tree | 5bb305644ad11da196c7613b82743e426e2fd337 /editclassifications.cgi | |
parent | b687ddef9b6dfeec3d87b7ae211decbf21b6e9a9 (diff) | |
download | bugs-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar bugs-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar.gz bugs-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar.bz2 bugs-2545c0950c4f0fde8f78b265217fa9f523eff7bf.tar.xz bugs-2545c0950c4f0fde8f78b265217fa9f523eff7bf.zip |
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 'editclassifications.cgi')
-rwxr-xr-x | editclassifications.cgi | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/editclassifications.cgi b/editclassifications.cgi index 352d7816b..ce82ccb97 100755 --- a/editclassifications.cgi +++ b/editclassifications.cgi @@ -115,9 +115,6 @@ if ($action eq 'new') { $dbh->do("INSERT INTO classifications (name, description) VALUES (?, ?)", undef, ($class_name, $description)); - # Make versioncache flush - unlink "$datadir/versioncache"; - $vars->{'classification'} = $class_name; LoadTemplate($action); @@ -173,8 +170,6 @@ if ($action eq 'delete') { $dbh->bz_unlock_tables(); - unlink "$datadir/versioncache"; - $vars->{'classification'} = $classification; LoadTemplate($action); @@ -222,10 +217,8 @@ if ($action eq 'update') { trick_taint($class_name); $dbh->do("UPDATE classifications SET name = ? WHERE id = ?", undef, ($class_name, $class_old->id)); - - $vars->{'updated_classification'} = 1; - unlink "$datadir/versioncache"; + $vars->{'updated_classification'} = 1; } if ($description ne $class_old->description) { @@ -235,8 +228,6 @@ if ($action eq 'update') { ($description, $class_old->id)); $vars->{'updated_description'} = 1; - - unlink "$datadir/versioncache"; } $dbh->bz_unlock_tables(); |