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 | Bug 286669: Add dependency on Storable (diff) | |
download | bugzilla-d9c182c4301459f433bc8537efda462b3baad316.tar.gz bugzilla-d9c182c4301459f433bc8537efda462b3baad316.tar.bz2 bugzilla-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); } |