[AMOS commit] MDL-41437 rework plugin_manager caching and version info in blocks and modules Committed into Git: 2013-09-14 21:57 UTC

[AMOS commit] MDL-41437 rework plugin_manager caching and version info in blocks and modules Committed into Git: 2013-09-14 21:57 UTC

by AMOS bot -
Number of replies: 0
Author: Petr Škoda
MDL-41437 rework plugin_manager caching and version info in blocks and modules
This patch includes:

* version column removed from modules table, now using standard config, this allows decimal version for modules
* version column removed from block table, now using standard config, this allows decimal version for blocks
* module version.php can safely use $plugins instead of module
* new plugin_manager bulk caching, this should help with MUC performance when logged in as admin
* all missing plugins are now in plugin overview (previously only blocks and modules)
* simplified code and improved coding style
* reworked plugin_manager unit tests - now using real plugins instead of mocks
* unit tests now fail if any plugin does not contain proper version.php file
* allow uninstall of deleted filters


http://git.moodle.org/gw?p=moodle.git;a=commit;h=bde002b81ac2fe003cc2b1e1db6e90c231baf1fa
http://github.com/moodle/moodle/commit/bde002b81ac2fe003cc2b1e1db6e90c231baf1fa

+ 2.6 en [cachedef_plugin_manager,core_cache]
- 2.6 en [cachedef_plugininfo_base,core_cache]
- 2.6 en [cachedef_plugininfo_block,core_cache]
- 2.6 en [cachedef_plugininfo_filter,core_cache]
- 2.6 en [cachedef_plugininfo_mod,core_cache]
- 2.6 en [cachedef_plugininfo_portfolio,core_cache]
- 2.6 en [cachedef_plugininfo_repository,core_cache]