From 67a2d15be9af1ad8662bf4a58b2a1fbcb0284c50 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 6 Jun 2013 10:02:27 -0400 Subject: [PATCH] Remove manual TPAC locale applications OpenILS::Utils::CStoreEditor::default_locale is no longer set, since the opensrf client locale is now global. Remove all references to this variable. Signed-off-by: Bill Erickson Signed-off-by: Dan Wells --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 1 - Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index 976940fef9..e3722678be 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -61,7 +61,6 @@ sub load_record { # run copy retrieval in parallel to bib retrieval # XXX unapi my $cstore = OpenSRF::AppSession->create('open-ils.cstore'); - $cstore->session_locale($OpenILS::Utils::CStoreEditor::default_locale); my $copy_rec = $cstore->request( 'open-ils.cstore.json_query.atomic', $self->mk_copy_query($rec_id, $org, $copy_depth, $copy_limit, $copy_offset, $pref_ou) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm index e520ff5768..1a8740c206 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm @@ -419,7 +419,6 @@ sub load_rresults { $method .= '.staff' if $ctx->{is_staff}; my $ses = OpenSRF::AppSession->create('open-ils.search'); - $ses->session_locale($OpenILS::Utils::CStoreEditor::default_locale); # set in EGWeb $self->timelog("Firing off the multiclass query"); my $req = $ses->request($method, $args, $query, 1); -- 2.11.0