From d9c182c4301459f433bc8537efda462b3baad316 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 23 Mar 2005 03:22:34 +0000 Subject: Bug 280193: Round up places using data/ instead of $datadir - Patch by Marc Schumann r=LpSolit, a=justdave --- editclassifications.cgi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'editclassifications.cgi') 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); } -- cgit v1.2.3-24-g4f1b