MDL-40220 use new core_component::get_plugin_types()

This commit is contained in:
Petr Škoda
2013-07-16 22:31:48 +02:00
parent 55fcd9323e
commit 46f6f7f224
14 changed files with 21 additions and 21 deletions
@@ -563,7 +563,7 @@ class tool_installaddon_validator {
$plugintypepath = null;
foreach (get_plugin_types() as $type => $fullpath) {
foreach (core_component::get_plugin_types() as $type => $fullpath) {
if ($type === $plugintype) {
$plugintypepath = $fullpath;
break;