Bug 21956: (bug 21775 follow-up) Use set_preference to reset the value
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Dec 2018 19:23:24 +0000 (16:23 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 20 Dec 2018 09:53:42 +0000 (09:53 +0000)
commitfe09955137a211f4c60737f9187b1625ad39e052
tree9a92deab2592576acdf6e8410d9cd701e6308126
parentf7f5d6f2e2a6331ba2ae0671e10ce883f550dbb3
Bug 21956: (bug 21775 follow-up) Use set_preference to reset the value

Test plan:
Set AudioAlerts to 0
Prove t/db_dependent/selenium/regressions.t
=> Without this patch the value of the pref is not reset to 0

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 674a34471f6eddfc849c480c557f6576f8572516)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/selenium/regressions.t