mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
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:
parent
82633a2915
commit
fcd01e4571
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user