https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672 --- Comment #12 from Julian Maurice <julian.maurice@biblibre.com> --- (In reply to Jonathan Druart from comment #9)
Julian, I am not sure, you are bypassing Koha::Plugin::Base->retrieve_data that is used in other places. As we are actually looking at caching the result, why not keep the usual way to retrieve the enabled plugins then cache them?
I guess you're talking about the is_enabled method (which calls retrieve_data) ? I think we should not ask the plugin itself if it's enabled because a plugin can override this method. It also produces less SQL queries that way (one query to retrieve all enabled plugins, instead of one query per module) -- You are receiving this mail because: You are watching all bug changes.