]> git.koha-community.org Git - koha.git/commit
Bug 38200: Remove dead code to delete authorities in authorities/authorities.pl
authorPhil Ringnalda <phil@chetcolibrary.org>
Fri, 18 Oct 2024 03:16:14 +0000 (20:16 -0700)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 23 Oct 2024 17:14:56 +0000 (19:14 +0200)
commit3fdf4ebcc185958c47ed47a90c273a3979fd11a6
tree2b85b9700a1c97dd0df0cc9823a3222930111dc4
parent476ae27df0608c54c63759158e6631a4a0879cb2
Bug 38200: Remove dead code to delete authorities in authorities/authorities.pl

It has probably never been used. There's no sign of any UI to delete from
the authority editor or auth_finder in the last 13 years of templates, and
it was unused when it landed; the patch that actually made the first patch
work, a month later, put deleting authorities in authorities_home.pl, where
it has been ever since.

It certainly hasn't been used since bug 17600 landed in 2021, since it
doesn't 'use C4::AuthoritiesMarc qw( DelAuthority );' and so if you try to
use it you just get an error for your trouble.

Sponsored-by: Chetco Community Public Library
Signed-off-by: Yanjun Li <yanjun.li@bywatersolutions.com>
Amended-by: Jonathan Druart
tidy

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
authorities/authorities.pl