Bug 19626: (QA follow-up) Small optimization
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 17 Nov 2017 08:23:40 +0000 (09:23 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 26 Nov 2017 16:00:03 +0000 (13:00 -0300)
commit00adeb397ff6fb9f01dd68a42d7ed136b7afef55
tree85b148ea683c979fffe2410f49199b747435e4c2
parent996298340fb7c545559864593d9054369ba2e56d
Bug 19626: (QA follow-up) Small optimization

We are only using $calendar when the pref is set.
Date calculation can be moved in if-else structure.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/updatedatabase.pl