Skip to content
Browse files

MDL-37295 forum: Parse old log entries during restore

  • Loading branch information...
1 parent ca48fe5 commit c524394d88a12070d0be8ffb45e37cfcafaf65c3 @ankitagarwal ankitagarwal committed Jan 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/forum/backup/moodle2/restore_forum_activity_task.class.php
View
1 mod/forum/backup/moodle2/restore_forum_activity_task.class.php
@@ -112,6 +112,7 @@ static public function define_restore_log_rules() {
$rules[] = new restore_log_rule('forum', 'delete discussion', 'view.php?id={course_module}', '{forum}');
$rules[] = new restore_log_rule('forum', 'add post', 'discuss.php?d={forum_discussion}&parent={forum_post}', '{forum_post}');
$rules[] = new restore_log_rule('forum', 'update post', 'discuss.php?d={forum_discussion}#p{forum_post}&parent={forum_post}', '{forum_post}');
+ $rules[] = new restore_log_rule('forum', 'update post', 'discuss.php?d={forum_discussion}&parent={forum_post}', '{forum_post}');
$rules[] = new restore_log_rule('forum', 'prune post', 'discuss.php?d={forum_discussion}', '{forum_post}');
$rules[] = new restore_log_rule('forum', 'delete post', 'discuss.php?d={forum_discussion}', '[post]');

0 comments on commit c524394

Please sign in to comment.
Something went wrong with that request. Please try again.