Bug 12063: [QA Follow-up] Adjustments to db revision
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 4 May 2017 10:53:03 +0000 (12:53 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 May 2017 12:59:40 +0000 (08:59 -0400)
commit2144fecdf06a484cb1047d3bbdd84b66d16e1805
treef4356a9eae38929263fca5f4c78341bb9cc3c37a
parenta08b309c4f7fc9714a660e4422fdf1f2b7f65dd6
Bug 12063: [QA Follow-up] Adjustments to db revision

Replace use by require.
Add require Koha::Calendar (seriously needed to prevent crashing).
Base expirationdate on today not on waitingdate (just as in Reserves).
Remove if ( waitingdate ) construction. Not needed anymore.
Remove $cancel_on_holidays. Not used. Note that the if construction around
the new pref is not strictly needed at upgrade time (pref still zero).
Fill the dbrev description.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_12063-define_expirationdate_for_waitting_reserves.perl