[open-ils-commits] [GIT] Evergreen ILS branch master updated. d933e14655786b760dd187ae7b167cc5d7a3194c

Evergreen Git git at git.evergreen-ils.org
Wed Oct 10 16:10:16 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  d933e14655786b760dd187ae7b167cc5d7a3194c (commit)
      from  0c07adf3290c15647d958fd42524929224bd3b39 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d933e14655786b760dd187ae7b167cc5d7a3194c
Author: Daniel Rizea <danielrizea27 at gmail.com>
Date:   Thu Apr 12 15:10:53 2012 -0400

    Remove unused bypass hold library setting
    
    Added sql upgrade script that removes bypass hold.. library setting
    
    [This lacks Daniel's signoff, but I've tested this and it works, so I'll
    let it pass this time just for the sake of getting one more bug closed.]
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index e1f8381..41a66b7 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -87,7 +87,7 @@ CREATE TRIGGER no_overlapping_deps
     BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0738', :eg_version); -- senator/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0739', :eg_version); -- drizea/senator
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
index e5daf85..7a6eb16 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -2999,15 +2999,6 @@ INSERT into config.org_unit_setting_type
         'coust', 'description'),
     'link', 'ccs')
 
-,( 'circ.holds.clear_shelf.no_capture_holds', 'holds',
-    oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds',
-        'Bypass hold capture during clear shelf process',
-        'coust', 'label'),
-    oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds',
-        'During the clear shelf process, avoid capturing new holds on cleared items.',
-        'coust', 'description'),
-    'bool', null)
-
 ,( 'circ.holds.default_estimated_wait_interval', 'holds',
     oils_i18n_gettext('circ.holds.default_estimated_wait_interval',
         'Default Estimated Wait',
diff --git a/Open-ILS/src/sql/Pg/upgrade/0739.remove_bypass_hold_library_setting.sql b/Open-ILS/src/sql/Pg/upgrade/0739.remove_bypass_hold_library_setting.sql
new file mode 100644
index 0000000..66d3917
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/0739.remove_bypass_hold_library_setting.sql
@@ -0,0 +1,13 @@
+-- remove the Bypass hold capture during clear shelf process setting
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0739', :eg_version);
+
+
+DELETE FROM actor.org_unit_setting WHERE name = 'circ.holds.clear_shelf.no_capture_holds';
+DELETE FROM config.org_unit_setting_type_log WHERE field_name = 'circ.holds.clear_shelf.no_capture_holds';
+
+
+DELETE FROM config.org_unit_setting_type WHERE name = 'circ.holds.clear_shelf.no_capture_holds';
+
+COMMIT;

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/sql/Pg/002.schema.config.sql          |    2 +-
 Open-ILS/src/sql/Pg/950.data.seed-values.sql       |    9 ---------
 .../0739.remove_bypass_hold_library_setting.sql    |   13 +++++++++++++
 3 files changed, 14 insertions(+), 10 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/upgrade/0739.remove_bypass_hold_library_setting.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list