Koha-clms/misc/migration_tools
Katrin Fischer f129843b6e Bug 30939: Fix use statement for DelAuthority
Without this patch, the script won't delete any
unused authorities, but gives an error instead
and dies:

Undefined subroutine &main::DelAuthority called at ./misc/migration_tools/remove_unused_authorities.pl line 98.

To test:
- Run from koha-shell:
  ./misc/migration_tools/remove_unused_authorities.pl -t
- Verify several authorities are reported as unused
- ./misc/migration_tools/remove_unused_authorities.pl -c
- Verify the error message is shown when the first unused
  authority is found and the script stops
- Apply patch and rerun:
  ./misc/migration_tools/remove_unused_authorities.pl -t
- Verify the error is gone, the script finishes and auhorities
  are deleted

https://bugs.koha-community.org/show_bug.cgi?id=30936

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit df393b38b8)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 29a627bdfc)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2022-08-11 15:06:01 +02:00
..
22_to_30
…
ifla
…
buildCOUNTRY.pl
…
buildEDITORS.pl
…
buildLANG.pl
…
build_oai_sets.pl
…
bulkmarcimport.pl
…
checkNonIndexedBiblios.pl
…
create_analytical_rel.pl
…
import_lexile.pl
…
koha-svc.pl
…
rebuild_zebra.pl
…
rebuild_zebra_sliced.sh
…
remove_unused_authorities.pl Bug 30939: Fix use statement for DelAuthority 2022-08-11 15:06:01 +02:00
switch_marc21_series_info.pl
…
upgradeitems.pl
…