MDL-40220 use new core_component::get_plugin_list()
This commit is contained in:
@@ -459,7 +459,7 @@ class phpunit_util extends testing_util {
|
||||
$plugintypes = core_component::get_plugin_types();
|
||||
ksort($plugintypes);
|
||||
foreach ($plugintypes as $type=>$unused) {
|
||||
$plugs = get_plugin_list($type);
|
||||
$plugs = core_component::get_plugin_list($type);
|
||||
ksort($plugs);
|
||||
foreach ($plugs as $plug=>$fullplug) {
|
||||
if (!file_exists("$fullplug/tests/")) {
|
||||
|
||||
Reference in New Issue
Block a user