From 5bd8e829ae5e961fd5c69fcd8e23576b11a09fef Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 21 Oct 2010 21:21:21 -0400 Subject: [PATCH] bug 3756: remove more references to disused sysprefs OPACSubscriptionDisplay OPACDisplayExtendedSubInfo OAI-PMH:Set OAI-PMH:Subset ILS-DI:AuthorizedIPs libraryAddress kohaspsuggest OrderPdfTemplate marc acquisitions Signed-off-by: Galen Charlton --- admin/systempreferences.pl | 10 -------- .../data/mysql/de-DE/mandatory/sysprefs.sql | 8 ------- .../data/mysql/en/mandatory/sysprefs.sql | 8 ------- .../unimarc_standard_systemprefs.sql | 7 ------ .../data/mysql/it-IT/necessari/sysprefs.sql | 8 ------- .../data/mysql/pl-PL/mandatory/sysprefs.sql | 9 -------- ...ferences_full_optimal_for_install_only.sql | 8 ------- ..._preferences_only_translation_updating.sql | 23 ------------------- ...ferences_full_optimal_for_install_only.sql | 8 ------- ..._preferences_only_translation_updating.sql | 23 ------------------- .../admin/preferences/acquisitions.pref | 1 - .../en/modules/admin/preferences/admin.pref | 2 +- .../en/modules/admin/preferences/opac.pref | 3 --- .../admin/preferences/web-services.pref | 1 - 14 files changed, 1 insertion(+), 118 deletions(-) diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index eec0c2aa58..97f9e1b467 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -70,13 +70,11 @@ use YAML::Syck qw( Dump LoadFile ); my %tabsysprefs; # Acquisitions - $tabsysprefs{acquisitions}="Acquisitions"; $tabsysprefs{gist}="Acquisitions"; $tabsysprefs{emailPurchaseSuggestions}="Acquisitions"; $tabsysprefs{RenewSerialAddsSuggestion}="Acquisitions"; $tabsysprefs{AcqCreateItem}="Acquisitions"; $tabsysprefs{OrderPdfFormat}="Acquisitions"; - $tabsysprefs{OrderPdfTemplate}="Acquisitions"; $tabsysprefs{CurrencyFormat}="Acquisitions"; # Admin @@ -85,7 +83,6 @@ $tabsysprefs{staffClientBaseURL} = "Admin"; $tabsysprefs{Version} = "Admin"; $tabsysprefs{OpacMaintenance} = "Admin"; $tabsysprefs{FrameworksLoaded} = "Admin"; -$tabsysprefs{libraryAddress} = "Admin"; $tabsysprefs{delimiter} = "Admin"; $tabsysprefs{IndependantBranches} = "Admin"; $tabsysprefs{insecure} = "Admin"; @@ -108,7 +105,6 @@ $tabsysprefs{casLogout} = "Admin"; $tabsysprefs{casServerUrl} = "Admin"; $tabsysprefs{Disable_Dictionary} = "Admin"; $tabsysprefs{EnableOpacSearchHistory} = "Admin"; -$tabsysprefs{'ILS-DI:AuthorizedIPs'} = "Admin"; $tabsysprefs{Intranetbookbag} = "Admin"; $tabsysprefs{maxitemsinSearchResults} = "Admin"; $tabsysprefs{noOPACUserLogin} = "Admin"; @@ -144,7 +140,6 @@ $tabsysprefs{IntranetBiblioDefaultView} = "Cataloging"; $tabsysprefs{ISBD} = "Cataloging"; $tabsysprefs{itemcallnumber} = "Cataloging"; $tabsysprefs{LabelMARCView} = "Cataloging"; -$tabsysprefs{marc} = "Cataloging"; $tabsysprefs{marcflavour} = "Cataloging"; $tabsysprefs{MARCOrgCode} = "Cataloging"; $tabsysprefs{z3950AuthorAuthFields} = "Cataloging"; @@ -381,7 +376,6 @@ $tabsysprefs{AnonSuggestions} = "OPAC"; $tabsysprefs{suggestion} = "OPAC"; $tabsysprefs{OpacTopissue} = "OPAC"; $tabsysprefs{OpacBrowser} = "OPAC"; -$tabsysprefs{kohaspsuggest} = "OPAC"; $tabsysprefs{OpacRenewalAllowed} = "OPAC"; $tabsysprefs{OPACItemHolds} = "OPAC"; $tabsysprefs{OPACGroupResults} = "OPAC"; @@ -393,8 +387,6 @@ $tabsysprefs{OPACShowCheckoutName} = "OPAC"; $tabsysprefs{RoutingListAddReserves} = "Serials"; $tabsysprefs{OPACSerialIssueDisplayCount} = "Serials"; $tabsysprefs{StaffSerialIssueDisplayCount} = "Serials"; -$tabsysprefs{OPACDisplayExtendedSubInfo} = "Serials"; -$tabsysprefs{OPACSubscriptionDisplay} = "Serials"; $tabsysprefs{RenewSerialAddsSuggestion} = "Serials"; $tabsysprefs{SubscriptionHistory} = "Serials"; @@ -411,8 +403,6 @@ $tabsysprefs{FinesLog} = "Logs"; $tabsysprefs{'OAI-PMH'} = "OAI-PMH"; $tabsysprefs{'OAI-PMH:archiveID'} = "OAI-PMH"; $tabsysprefs{'OAI-PMH:MaxCount'} = "OAI-PMH"; -$tabsysprefs{'OAI-PMH:Set'} = "OAI-PMH"; -$tabsysprefs{'OAI-PMH:Subset'} = "OAI-PMH"; # ILS-DI variables $tabsysprefs{'ILS-DI'} = "ILS-DI"; diff --git a/installer/data/mysql/de-DE/mandatory/sysprefs.sql b/installer/data/mysql/de-DE/mandatory/sysprefs.sql index 514e63ab33..a83bfc5605 100644 --- a/installer/data/mysql/de-DE/mandatory/sysprefs.sql +++ b/installer/data/mysql/de-DE/mandatory/sysprefs.sql @@ -1,4 +1,3 @@ -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('acquisitions','normal','Choose Normal, budget-based acquisitions, or Simple bibliographic-data acquisitions','simple|normal','Choice'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('advancedMARCeditor',0,"If ON, the MARC editor won't display field/subfield descriptions",'','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowHoldDateInFuture','0','If set a date field is displayed on the Hold screen of the Staff Interface, allowing the hold date to be set in the future.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACAllowHoldDateInFuture','0','If set, along with the AllowHoldDateInFuture system preference, OPAC users can set the date of a hold to be in the future.','','YesNo'); @@ -50,11 +49,9 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemcallnumber','082ab','The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record',NULL,'free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('DefaultClassificationSource','ddc','Default classification scheme used by the collection. E.g., Dewey, LCC, etc.', NULL,'ClassSources'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('KohaAdminEmailAddress','root@localhost','Define the email address where patron modification requests are sent','','free'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('kohaspsuggest','','Track search queries, turn on by defining host:dbname:user:pass','',''); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LabelMARCView','standard','Define how a MARC record will display','standard|economical','Choice'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LetterLog',1,'If ON, log all notices sent',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LibraryName','','Define the library name as displayed on the OPAC','',''); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('marc',1,'Turn on MARC support',NULL,'YesNo'); -- this is selected by the web installer now -- INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('marcflavour','MARC21','Define global MARC flavor (MARC21 or UNIMARC) used for character encoding','MARC21|UNIMARC','Choice'); @@ -145,7 +142,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('minPasswordLength',3,'Specify the minimum length of a patron/staff password',NULL,'free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('noItemTypeImages',0,'If ON, disables item-type images',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('emailLibrarianWhenHoldIsPlaced',0,'If ON, emails the librarian whenever a hold is placed',NULL,'YesNo'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('libraryAddress','','The address to use for printing receipts, overdues, etc. if different than physical address',NULL,'free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numReturnedItemsToShow','20','Number of returned items to show on the check-in page',NULL,'Integer'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('finesMode','test','Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines). Requires accruefines cronjob.','off|test|production','Choice'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('globalDueDate','','If set, allows a global static due date for all checkouts','10','free'); @@ -153,8 +149,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemBarcodeInputFilter','','If set, allows specification of a item barcode input filter','whitespace|T-prefix|cuecat','Choice'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('singleBranchMode',0,'Operate in Single-branch mode, hide branch selection in the OPAC',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('URLLinkText','','Text to display as the link anchor in the OPAC',NULL,'free'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACSubscriptionDisplay','economical','Specify how to display subscription information in the OPAC','economical|off|full','Choice'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACDisplayExtendedSubInfo',1,'If ON, extended subscription information is displayed in the OPAC',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACViewOthersSuggestions',0,'If ON, allows all suggestions to be displayed in the OPAC',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACURLOpenInNewWindow',0,'If ON, URLs in the OPAC open in a new window',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACUserCSS','','Add CSS to be included in the OPAC in an embedded