]> git.koha-community.org Git - koha.git/commit
Bug 21865: add confirm to remove_unused_authorities.pl script
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 Nov 2018 14:45:49 +0000 (15:45 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Tue, 5 May 2020 22:03:46 +0000 (22:03 +0000)
commitace1f665dfdcb7dd2fe1e864191556432e9c5ef6
tree4a4bd548ace2e2d865c075e75c358c00187ba114
parentee25606e8a85fb8a95284b6ad678dd18e97dfd02
Bug 21865: add confirm to remove_unused_authorities.pl script

Like in most scripts in misc, add confirm argument
to ensure script is not run without knowing what it does.

Test plan:
1) Run misc/migration_tools/remove_unused_authorities.pl -h
2) You see help line for confirm
3) Run misc/migration_tools/remove_unused_authorities.pl
4) You see help and script does nothing
5) Run misc/migration_tools/remove_unused_authorities.pl -c
6) Script runs like wanted

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
misc/migration_tools/remove_unused_authorities.pl