Bug #6067 - The restore process behaves differently depending on which module contains the absolute links; merged from MOODLE_16_STABLE

This commit is contained in:
skodak 2006-07-11 10:01:33 +00:00
parent 18ab25bccd
commit 4e060ab972
2 changed files with 4 additions and 0 deletions

View file

@ -1718,6 +1718,7 @@
foreach ($mypreferences->mods as $name => $info) {
//Check if the xxxx_encode_content_links exists
include_once("$CFG->dirroot/mod/$name/backuplib.php");
$function_name = $name."_encode_content_links";
if (function_exists($function_name)) {
$result = $function_name($result,$mypreferences);