Commit substantive changes from Joe Atzberger's patch to add a renewal hook, and...
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 26 Sep 2009 02:39:02 +0000 (02:39 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 26 Sep 2009 02:39:02 +0000 (02:39 +0000)
commit56cf747be3e804b3741423b679c56d6ecbb0cdcd
treeff7880e42adcb19e93267e7b77493213eea5ae1a
parent792446fca0a909726a8ce6c5b8705b0a2c0fb22d
Commit substantive changes from Joe Atzberger's patch to add a renewal hook, and create a DB upgrade script

The substantive changes are:

    * $ses->request('open-ils.trigger.event.autocreate', 'renewal',  $self->circ, $self->circ_lib) if $self->is_renewal;
    * 1; added at the end of module,
    * SQL line added for renewal hook.

Note: also corrected typos in the SQL for another hook

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14169 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
Open-ILS/src/sql/Pg/upgrade/0023.data.trigger-for-renewing-circs.sql [new file with mode: 0644]