MDL-40220 use new core_component::get_plugin_list()

This commit is contained in:
Petr Škoda
2013-07-16 22:36:11 +02:00
parent 46f6f7f224
commit bd3b3bba9f
87 changed files with 147 additions and 147 deletions
+1 -1
View File
@@ -1877,7 +1877,7 @@ function data_get_available_presets($context) {
$presets = array();
// First load the ratings sub plugins that exist within the modules preset dir
if ($dirs = get_plugin_list('datapreset')) {
if ($dirs = core_component::get_plugin_list('datapreset')) {
foreach ($dirs as $dir=>$fulldir) {
if (is_directory_a_preset($fulldir)) {
$preset = new stdClass();