Skip to content

Commit

Permalink
Merge branch 'MDL-74225' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Mar 21, 2022
2 parents f013b9c + 9ccaf71 commit 0babca4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions admin/settings/plugins.php
Expand Up @@ -328,6 +328,13 @@
$temp->add(new admin_setting_managedataformats());
$ADMIN->add('dataformatsettings', $temp);

$plugins = core_plugin_manager::instance()->get_plugins_of_type('dataformat');
core_collator::asort_objects_by_property($plugins, 'displayname');
foreach ($plugins as $plugin) {
/** @var \core\plugininfo\dataformat $plugin */
$plugin->load_settings($ADMIN, 'dataformatsettings', $hassiteconfig);
}

//== Portfolio settings ==
require_once($CFG->libdir. '/portfoliolib.php');
$catname = new lang_string('portfolios', 'portfolio');
Expand Down

0 comments on commit 0babca4

Please sign in to comment.