Bug 14920: Simplify the date management on reserveratios
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Oct 2015 10:46:18 +0000 (11:46 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 13 Oct 2015 14:39:11 +0000 (11:39 -0300)
commit7482d80068434afb0e38ac0905230aa66956843f
treefd239db2bb54bbbd7f52f01e0c6d3299c3151318
parent388f69e5c9f1ca0e7eab38f26afd93821d4287ac
Bug 14920: Simplify the date management on reserveratios

Note that the previous patch was wrong, the start date defaulted to yesterday,
the original behavior is to default to last year.

This patch removes some unecessary variable declarations and tests.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/reserveratios.pl