From: miker Date: Mon, 19 Jan 2009 16:24:25 +0000 (+0000) Subject: no more caching of statuses in retrieve_all X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=34fb5351e12ec505d29ea0a959356a475e610d60;p=Evergreen.git no more caching of statuses in retrieve_all git-svn-id: svn://svn.open-ils.org/ILS/trunk@11875 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm index 8424c16737..6b9516c267 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -1282,12 +1282,9 @@ __PACKAGE__->register_method( method => "retrieve_all_copy_statuses", api_name => "open-ils.search.config.copy_status.retrieve.all" ); -my $copy_statuses; sub retrieve_all_copy_statuses { my( $self, $client ) = @_; - return $copy_statuses if $copy_statuses; - return $copy_statuses = - new_editor()->retrieve_all_config_copy_status(); + return new_editor()->retrieve_all_config_copy_status(); }