https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38200
Bug ID: 38200
Summary: Remove dead code to delete authorities in
authorities/authorities.pl
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
authorities/authorities.pl (the authority editor) has an op cud-delete.
Hypothetically, it might have been run at some point before the template
transition 13 years ago: somewhere between the initial commit of authorities
support 20 years ago and then, the editor might have had a delete button that
called it. Since then, it hasn't had one.
You can see that it hasn't been run in the past 8 years by looking at the use
block: before 8 years ago we had use C4::AuthoritiesMarc; but since then we've
used specific exported things from it, never including DelAuthority.
You might think it was used by deleting authorities in auth_finder.pl, a rather
odd thing to have, but no: from the start, when it was auth_linker.pl, it has
not had UI to delete.
It did have the param nonav which it used to send people back to auth_linker
after they created an authority, but since it was also passing myindex, the
index of the bib field where auth_linker was supposed to put the results of its
lookup, now the existence of that says it's an authority created from
auth_finder and nonav is dead, too.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/