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
@@ -225,7 +225,7 @@ abstract class question_engine {
*/
public static function get_archetypal_behaviours() {
$archetypes = array();
$behaviours = get_plugin_list('qbehaviour');
$behaviours = core_component::get_plugin_list('qbehaviour');
foreach ($behaviours as $behaviour => $notused) {
if (self::is_behaviour_archetypal($behaviour)) {
$archetypes[$behaviour] = self::get_behaviour_name($behaviour);