]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 280573 : checksetup fails in Bugzilla::Auth BEGIN block
authortravis%sedsystems.ca <>
Wed, 2 Feb 2005 03:16:24 +0000 (03:16 +0000)
committertravis%sedsystems.ca <>
Wed, 2 Feb 2005 03:16:24 +0000 (03:16 +0000)
Patch by Max Kanat-Alexander <mkanat@kerio.com>  r,a=justdave
(Regression behaviour from Bug 278792)

checksetup.pl

index 37f96df0adea41286d14bdcf7d5ac06cae37a978..1a8f46f5555849a68d94ce722f1c4b405a09e2f9 100755 (executable)
@@ -1470,7 +1470,8 @@ if ($^O !~ /MSWin32/i) {
 
 # It's safe to use Bugzilla::Auth here because parameters have now been
 # defined.
-use Bugzilla::Auth;
+require Bugzilla::Auth;
+import Bugzilla::Auth 'bz_crypt';
 
 # globals.pl clears the PATH, but File::Find uses Cwd::cwd() instead of
 # Cwd::getcwd(), which we need to do because `pwd` isn't in the path - see