diff options
author | lpsolit%gmail.com <> | 2005-03-23 03:22:34 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-03-23 03:22:34 +0000 |
commit | d9c182c4301459f433bc8537efda462b3baad316 (patch) | |
tree | 0c5b682cac85efd4df8ecc1f4f731abd4e2530b8 /editclassifications.cgi | |
parent | e52d541e70016e2e6414703408b8ad3505464213 (diff) | |
download | bugs-d9c182c4301459f433bc8537efda462b3baad316.tar bugs-d9c182c4301459f433bc8537efda462b3baad316.tar.gz bugs-d9c182c4301459f433bc8537efda462b3baad316.tar.bz2 bugs-d9c182c4301459f433bc8537efda462b3baad316.tar.xz bugs-d9c182c4301459f433bc8537efda462b3baad316.zip |
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-x | editclassifications.cgi | 8 |
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); } |