bug 2434 followup patch to remove EVENT from message_transports
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
00ecd9fcbe
commit
4adbb89c4c
7 changed files with 7 additions and 12 deletions
|
@ -5,13 +5,11 @@ values
|
||||||
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'email', 0, 'circulation', 'PREDUE'),
|
(2, 'email', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'email', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'email', 0, 'reserves', 'HOLD'),
|
(4, 'email', 0, 'reserves', 'HOLD'),
|
||||||
(1, 'sms', 0, 'circulation', 'DUE'),
|
(1, 'sms', 0, 'circulation', 'DUE'),
|
||||||
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'sms', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'sms', 0, 'reserves', 'HOLD'),
|
(4, 'sms', 0, 'reserves', 'HOLD'),
|
||||||
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
||||||
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
||||||
|
|
|
@ -5,13 +5,11 @@ values
|
||||||
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'email', 0, 'circulation', 'PREDUE'),
|
(2, 'email', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'email', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'email', 0, 'reserves', 'HOLD'),
|
(4, 'email', 0, 'reserves', 'HOLD'),
|
||||||
(1, 'sms', 0, 'circulation', 'DUE'),
|
(1, 'sms', 0, 'circulation', 'DUE'),
|
||||||
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'sms', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'sms', 0, 'reserves', 'HOLD'),
|
(4, 'sms', 0, 'reserves', 'HOLD'),
|
||||||
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
||||||
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
||||||
|
|
|
@ -5,13 +5,11 @@ values
|
||||||
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'email', 0, 'circulation', 'PREDUE'),
|
(2, 'email', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'email', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'email', 0, 'reserves', 'HOLD'),
|
(4, 'email', 0, 'reserves', 'HOLD'),
|
||||||
(1, 'sms', 0, 'circulation', 'DUE'),
|
(1, 'sms', 0, 'circulation', 'DUE'),
|
||||||
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'sms', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'sms', 0, 'reserves', 'HOLD'),
|
(4, 'sms', 0, 'reserves', 'HOLD'),
|
||||||
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
||||||
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
||||||
|
|
|
@ -5,13 +5,11 @@ values
|
||||||
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'email', 0, 'circulation', 'PREDUE'),
|
(2, 'email', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'email', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'email', 0, 'reserves', 'HOLD'),
|
(4, 'email', 0, 'reserves', 'HOLD'),
|
||||||
(1, 'sms', 0, 'circulation', 'DUE'),
|
(1, 'sms', 0, 'circulation', 'DUE'),
|
||||||
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'sms', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'sms', 0, 'reserves', 'HOLD'),
|
(4, 'sms', 0, 'reserves', 'HOLD'),
|
||||||
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
||||||
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
||||||
|
|
|
@ -7,12 +7,10 @@ values
|
||||||
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'email', 0, 'circulation', 'PREDUE'),
|
(2, 'email', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'email', 0, 'circulation', 'EVENT'),
|
|
||||||
(1, 'sms', 0, 'circulation', 'DUE'),
|
(1, 'sms', 0, 'circulation', 'DUE'),
|
||||||
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'sms', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'sms', 0, 'reserves', 'HOLD'),
|
(4, 'sms', 0, 'reserves', 'HOLD'),
|
||||||
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
||||||
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
||||||
|
|
|
@ -7,12 +7,10 @@ values
|
||||||
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
(1, 'email', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'email', 0, 'circulation', 'PREDUE'),
|
(2, 'email', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'email', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'email', 0, 'circulation', 'EVENT'),
|
|
||||||
(1, 'sms', 0, 'circulation', 'DUE'),
|
(1, 'sms', 0, 'circulation', 'DUE'),
|
||||||
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
(1, 'sms', 1, 'circulation', 'DUEDGST'),
|
||||||
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
(2, 'sms', 0, 'circulation', 'PREDUE'),
|
||||||
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
(2, 'sms', 1, 'circulation', 'PREDUEDGST'),
|
||||||
(3, 'sms', 0, 'circulation', 'EVENT'),
|
|
||||||
(4, 'sms', 0, 'reserves', 'HOLD'),
|
(4, 'sms', 0, 'reserves', 'HOLD'),
|
||||||
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
(5, 'email', 0, 'circulation', 'CHECKIN'),
|
||||||
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
(5, 'sms', 0, 'circulation', 'CHECKIN'),
|
||||||
|
|
|
@ -3670,6 +3670,13 @@ if (C4::Context->preference('Version') < TransformToNum($DBversion)){
|
||||||
SetVersion ($DBversion);
|
SetVersion ($DBversion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$DBversion = 'XXX';
|
||||||
|
if (C4::Context->preference('Version') < TransformToNum($DBversion)){
|
||||||
|
$dbh->do(qq{DELETE FROM message_transports WHERE message_attribute_id=3;});
|
||||||
|
print "Upgrade to $DBversion done Remove upcoming events messaging option part 2 (bug 2434)";
|
||||||
|
SetVersion ($DBversion);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
=item DropAllForeignKeys($table)
|
=item DropAllForeignKeys($table)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue