summaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-03-23 04:22:34 +0100
committerlpsolit%gmail.com <>2005-03-23 04:22:34 +0100
commitd9c182c4301459f433bc8537efda462b3baad316 (patch)
tree0c5b682cac85efd4df8ecc1f4f731abd4e2530b8 /editclassifications.cgi
parente52d541e70016e2e6414703408b8ad3505464213 (diff)
downloadbugzilla-d9c182c4301459f433bc8537efda462b3baad316.tar.gz
bugzilla-d9c182c4301459f433bc8537efda462b3baad316.tar.xz
Bug 280193: Round up places using data/ instead of $datadir - Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit, a=justdave
Diffstat (limited to 'editclassifications.cgi')
-rwxr-xr-xeditclassifications.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/editclassifications.cgi b/editclassifications.cgi
index 0e8ffde99..9dad9ae37 100755
--- a/editclassifications.cgi
+++ b/editclassifications.cgi
@@ -27,7 +27,7 @@ use Bugzilla;
use Bugzilla::Constants;
use Bugzilla::Util;
use Bugzilla::Error;
-use Bugzilla::Config;
+use Bugzilla::Config qw($datadir);
require "globals.pl";
@@ -166,7 +166,7 @@ if ($action eq 'new') {
$sth->execute($classification,$description);
# Make versioncache flush
- unlink "data/versioncache";
+ unlink "$datadir/versioncache";
LoadTemplate($action);
}
@@ -230,7 +230,7 @@ if ($action eq 'delete') {
$dbh->bz_unlock_tables();
- unlink "data/versioncache";
+ unlink "$datadir/versioncache";
LoadTemplate($action);
}
@@ -320,7 +320,7 @@ if ($action eq 'update') {
$dbh->bz_unlock_tables();
- unlink "data/versioncache";
+ unlink "$datadir/versioncache";
LoadTemplate($action);
}