remove acq.holds.allow_holds_from_purchase_request
authorJason Etheridge <jason@EquinoxInitiative.org>
Mon, 30 Jul 2018 20:21:48 +0000 (16:21 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Mon, 30 Jul 2018 20:21:48 +0000 (16:21 -0400)
This was added a long time ago but never actually used by the code.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.schema.acq.patron_requests.sql

index 0a2709b..3626753 100644 (file)
@@ -3019,15 +3019,6 @@ INSERT into config.org_unit_setting_type
         'coust', 'description'),
     'integer', null)
 
-,( 'acq.holds.allow_holds_from_purchase_request', 'acq',
-    oils_i18n_gettext('acq.holds.allow_holds_from_purchase_request',
-        'Allows patrons to create automatic holds from purchase requests.',
-        'coust', 'label'),
-    oils_i18n_gettext('acq.holds.allow_holds_from_purchase_request',
-        'Allows patrons to create automatic holds from purchase requests.',
-        'coust', 'description'),
-    'bool', null)
-
 ,( 'acq.tmp_barcode_prefix', 'acq',
     oils_i18n_gettext('acq.tmp_barcode_prefix',
         'Temporary barcode prefix',
index c710d43..02ea847 100644 (file)
@@ -80,4 +80,9 @@ INSERT INTO acq.user_request_status_type (id,label) VALUES
 
 SELECT SETVAL('acq.user_request_status_type_id_seq'::TEXT, 100);
 
+-- not used
+DELETE FROM actor.org_unit_setting WHERE name = 'acq.holds.allow_holds_from_purchase_request';
+DELETE FROM config.org_unit_setting_type_log WHERE field_name = 'acq.holds.allow_holds_from_purchase_request';
+DELETE FROM config.org_unit_setting_type WHERE name = 'acq.holds.allow_holds_from_purchase_request';
+
 COMMIT;