Now chat-talk log actions are restored properly.
Part of bug 3582. (http://moodle.org/bugs/bug.php?op=show&bugid=3852) Merged from MOODLE_15_STABLE
This commit is contained in:
@@ -264,6 +264,17 @@
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "talk":
|
||||
if ($log->cmid) {
|
||||
//Get the new_id of the module (to recode the info field)
|
||||
$mod = backup_getid($restore->backup_unique_code,$log->module,$log->info);
|
||||
if ($mod) {
|
||||
$log->url = "view.php?id=".$log->cmid;
|
||||
$log->info = $mod->new_id;
|
||||
$status = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "view":
|
||||
if ($log->cmid) {
|
||||
//Get the new_id of the module (to recode the info field)
|
||||
|
||||
Reference in New Issue
Block a user