[Koha-bugs] [Bug 36039] Output of database_audit.pl should be accessible through UI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 9 00:39:51 CET 2024


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

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
In hindsight, I should've put the code for "audit_database.pl" into a module.
One of those things where a person is like "oh I'll just write a quick script
for this..." and it becomes more useful than that heh.

Also, I don't think this PoC would work in a non-git environment, since
"audit_database.pl" needs to be told where to find kohastructure.sql. 

So I reckon we refactor this to put it into a module (Koha::Database::Auditor
perhaps), and then in about.pl we could find kohastructure.sql (using
"intranetdir" from koha-conf.xml probably) and pass it as a parameter to
Koha::Database::Auditor.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list