]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 14 May 2020 14:57:39 +0000 (14:57 +0000)
commitde3dcc4904379fd4ac8ece1840ab0cee50441201
tree8425ebbfaba0d40496d74875441a3c16ecf7cc53
parent63914840c620fda1b7edf5e831602db1bce179c1
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>
(cherry picked from commit ace1f665dfdcb7dd2fe1e864191556432e9c5ef6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/migration_tools/remove_unused_authorities.pl