From 0e2f7fd8f40c12634bdcfa47bceabd0ddf60bbb6 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 9 Nov 2011 09:37:44 -0500 Subject: [PATCH] Fix a typo that snuck through the cracks in Cronscript.pm.in. We had Opensrf::AppSession rather than OpenSRF::AppSession, which isn't caught by the simple use_ok() tests that we largely rely on for our current Perl test suite. In addition, when we manually tested the change to Cronscript.pm.in, we didn't do both configure && make to ensure that the new version of Cronscript.pm reflected the changes. Lots to learn, luckily the method wasn't being used by anything else in Evergreen yet. Signed-off-by: Jason Stephenson Signed-off-by: Dan Scott --- Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in index 4c0d66b4b5..472c445532 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in @@ -302,7 +302,7 @@ sub authenticate { if ($args && ref($args) eq 'HASH') { $self->{bootstrapped} or $self->bootstrap(); - my $session = Opensrf::AppSession->create('open-ils.auth'); + my $session = OpenSRF::AppSession->create('open-ils.auth'); my $seed = $session->request( 'open-ils.auth.authenticate.init', $args->{'username'} )->gather(1); -- 2.11.0