Koha/misc/migration_tools
Alex Arnaud 128e7f54b1 Bug 15188 - Fixes remove_unused_authorities.pl will delete all authorities if zebra is not running
Test plan:

1) Shut down zebra: koha-zebra-ctl.sh stop
2) Execute the script: remove_unused_authorities.pl (with -t if you don't want to really delete from your database).
3) Check that the script would have deleted all the authorities (eg: 31449 authorities parsed, 31449 deleted and 0 unchanged because used).
4) Apply patch
5) Run, notice that the script dies because zebra is unavailable

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-01-27 01:03:05 +00:00
..
22_to_30 Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
build_oai_sets.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
buildCOUNTRY.pl Convert to UTF-8. 2010-05-06 17:58:24 -04:00
buildEDITORS.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
buildLANG.pl Convert to UTF-8. 2010-05-06 17:58:24 -04:00
bulkmarcimport.pl Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
checkNonIndexedBiblios.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
create_analytical_rel.pl Bug 5528: Analytic records support 2011-10-13 10:03:39 +13:00
fix_onloan.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
import_lexile.pl Bug 11368: [QA Followup 2] 2015-09-18 12:40:52 -03:00
koha-svc.pl Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
merge_authority.pl Bug 15381: Remove GetAuthType and GetAuthTypeCode 2015-12-31 18:59:02 +00:00
rebuild_zebra.pl Bug 15325: Fix --table option of rebuild_zebra.pl 2015-12-11 16:15:50 +00:00
rebuild_zebra_sliced.sh Bug 8746 [Follow-up] Replace == by eq in string comparison 2013-04-21 09:23:23 -04:00
remove_unused_authorities.pl Bug 15188 - Fixes remove_unused_authorities.pl will delete all authorities if zebra is not running 2016-01-27 01:03:05 +00:00
switch_marc21_series_info.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
upgradeitems.pl (bug #4518) enhance 2.2 to 3.0 scripts 2011-11-16 17:48:24 +01:00