mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-46281-master' of git://github.com/lucisgit/moodle
This commit is contained in:
commit
4cb61b6b4e
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class backup_xml_transformer extends xml_contenttransformer {
|
|||
// Add the module ones. Each module supporting moodle2 backups MUST have it
|
||||
$mods = core_component::get_plugin_list('mod');
|
||||
foreach ($mods as $mod => $moddir) {
|
||||
if (plugin_supports('mod', $mod, FEATURE_BACKUP_MOODLE2)) {
|
||||
if (plugin_supports('mod', $mod, FEATURE_BACKUP_MOODLE2) && class_exists('backup_' . $mod . '_activity_task')) {
|
||||
$encoders['backup_' . $mod . '_activity_task'] = 'encode_content_links';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue