Bug 15986: (follow-up) Add atomic update
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
ea6467724c
commit
340f542624
1 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
$DBversion = 'XXX';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO letter
|
||||
(module,code,branchcode,name,is_html,title,content,message_transport_type,lang)
|
||||
VALUES ('reserves','HOLD_REMINDER','','Waiting hold reminder',0,'You have waiting holds.','Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nThe follwing holds are waiting at [% branch.branchname %]:\r\n\\r\n[% FOREACH hold IN holds %]\r\n [% hold.biblio.title %] : waiting since [% hold.waitingdate %]\r\n[% END %]','email','default')
|
||||
});
|
||||
NewVersion( $DBversion, 15986, "Add sample HOLD_REMINDER notice");
|
||||
}
|
Loading…
Reference in a new issue