MDL-40220 use new core_component::get_plugin_types()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user