From: Jason Stephenson Date: Wed, 9 Nov 2011 14:37:44 +0000 (-0500) Subject: Fix a typo that snuck through the cracks in Cronscript.pm.in. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0e2f7fd8f40c12634bdcfa47bceabd0ddf60bbb6;p=evergreen%2Fmasslnc.git 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 --- 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);