From: Galen Charlton Date: Tue, 26 Mar 2013 15:20:18 +0000 (-0400) Subject: LP#1160343: remove unused open-ils.circ settings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=aebfcb20799b9893723aadee121d5b3f3f4b4c89;p=evergreen%2Fmasslnc.git LP#1160343: remove unused open-ils.circ settings The circ_modifier and billing_types lists in the open-ils.circ section of opensrf.xml are no longer used. This commit removes them from the opensrf.xml example config. It also removes the method open-ils.circ.billing_type.retrieve.all, which has not be used by any other code once in-DB billing types were introduced. Any external clients that used the method that was removed should instead use open-ils.circ.billing_type.ranged.retrieve.all. Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index 91243b1d08..7e69ff474a 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -816,64 +816,6 @@ vim:et:ts=4:sw=4: circ/circ_permit_hold.js - - art - atlas - audiobook - av - new-av - bestseller - bestsellernh - book - cd - dvd - dvd-long - e-book - equipment - filmstrip - kit - magazine - map - microform - music - record - software - softwrlong - equip-long - talking book - toy - video - video-long - - - - Miscellaneous - Overdue materials - Fee for placing a hold - Fee for checking out a book - Fee for library card - Miscellaneous charges - Lost materials - Damaged material - Overdue Reserves charge - Recall overdue - Fee for processing lost library materials - Fee for sending patron bills to collection agency - Fee for interlibrary loan - Fee for copies - Money advanced to pay for telephone use - Deposit fee - Fee for disk - Fee for faxing - Fee for laminating - Fee for room cleaning - Deposit returned; fee refund - Sale items - Fee for lost card - Long overdue items - Lost/Replacement Cassette - Returned Check - diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm index 5c2a754a9b..5549fec4a5 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm @@ -80,16 +80,6 @@ sub fetch_circ_mods { } __PACKAGE__->register_method( - method => 'fetch_bill_types', - api_name => 'open-ils.circ.billing_type.retrieve.all'); -sub fetch_bill_types { - my $conf = OpenSRF::Utils::SettingsClient->new; - return $conf->config_value( - 'apps', 'open-ils.circ', 'app_settings', 'billing_types', 'type' ); -} - - -__PACKAGE__->register_method( method => 'ranged_billing_types', api_name => 'open-ils.circ.billing_type.ranged.retrieve.all');