Skip to content

Commit

Permalink
MDL-32766 course view section log: fixed the forth param for restore …
Browse files Browse the repository at this point in the history
…rule specification to use course_section
  • Loading branch information
Rossiani Wijaya authored and Sam Hemelryk committed May 30, 2012
1 parent 7fd264b commit 6b0e5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/moodle2/restore_final_task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static public function define_restore_log_rules() {
$rules[] = new restore_log_rule('course', 'report outline', 'report/outline/index.php?id={course}', '{course}');
$rules[] = new restore_log_rule('course', 'report participation', 'report/participation/index.php?id={course}', '{course}');
$rules[] = new restore_log_rule('course', 'report stats', 'report/stats/index.php?id={course}', '{course}');
$rules[] = new restore_log_rule('course', 'view section', 'view.php?id={course}&section={course_sectionnumber}', '{course}');
$rules[] = new restore_log_rule('course', 'view section', 'view.php?id={course}&section={course_sectionnumber}', '{course_section}');

// module 'user' rules
$rules[] = new restore_log_rule('user', 'view', 'view.php?id={user}&course={course}', '{user}');
Expand Down

0 comments on commit 6b0e5f4

Please sign in to comment.