Koha/koha-tmpl/intranet-tmpl/prog/en
Kyle M Hall 9d81b1dd7a
Bug 21073: Improve plugin performance
Right now, to check if a plugin is functional and what methods it exposes we load the module and test for a given method at run time. This is highly inefficient. It makes far more sense to do this at install time and store the data in the db. I believe we should store a table of methods that each plugin exposes and check that instead. Then, at install time we can test that a) the plugin can be loaded and b) add the available methods to the plugin_methods table.

Test Plan:
1) Apply this patch
2) Restart all the things
3) Run updatedatabase.pl
4) Verify you can use existing plugins
5) Verify you can install new plugins

Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-18 17:29:23 +01:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 23065: Rename "New subscription" button when default to current serial 2019-06-13 12:28:00 +01:00
modules Bug 21073: Improve plugin performance 2019-06-18 17:29:23 +01:00
xslt Bug 20986: (follow-up) Avoid br tags, but allow for line breaks to be added easily with CSS 2019-06-06 15:47:58 +01:00
columns.def Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00