Skip to content

Commit

Permalink
course report xxxx actions now are supported on restore. Bug 5714.
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 4, 2006
1 parent f4f0bc8 commit 2efeb14
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions backup/restorelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2731,6 +2731,31 @@ function restore_log_course($restore,$log) {
$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;
Expand Down

0 comments on commit 2efeb14

Please sign in to comment.