MDL-40220 use new core_component::get_plugin_list()
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ function questions_in_use($questionids) {
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach (get_plugin_list('mod') as $module => $path) {
|
||||
foreach (core_component::get_plugin_list('mod') as $module => $path) {
|
||||
$lib = $path . '/lib.php';
|
||||
if (is_readable($lib)) {
|
||||
include_once($lib);
|
||||
|
||||
Reference in New Issue
Block a user