mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
course report xxxx actions now are supported on restore. Bug 5714.
(http://moodle.org/bugs/bug.php?op=show&bugid=5714) Merged from MOODLE_16_STABLE
This commit is contained in:
parent
f4f0bc84cb
commit
2efeb14832
@ -2731,6 +2731,31 @@
|
||||
$log->info = "";
|
||||
$toinsert = true;
|
||||
break;
|
||||
case "report log":
|
||||
$log->url = "report/log/index.php?id=".$log->course;
|
||||
$log->info = $log->course;
|
||||
$toinsert = true;
|
||||
break;
|
||||
case "report live":
|
||||
$log->url = "report/log/live.php?id=".$log->course;
|
||||
$log->info = $log->course;
|
||||
$toinsert = true;
|
||||
break;
|
||||
case "report outline":
|
||||
$log->url = "report/outline/index.php?id=".$log->course;
|
||||
$log->info = $log->course;
|
||||
$toinsert = true;
|
||||
break;
|
||||
case "report participation":
|
||||
$log->url = "report/participation/index.php?id=".$log->course;
|
||||
$log->info = $log->course;
|
||||
$toinsert = true;
|
||||
break;
|
||||
case "report stats":
|
||||
$log->url = "report/stats/index.php?id=".$log->course;
|
||||
$log->info = $log->course;
|
||||
$toinsert = true;
|
||||
break;
|
||||
default:
|
||||
echo "action (".$log->module."-".$log->action.") unknown. Not restored<br />"; //Debug
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user