Permalink
Browse files

MDL-37295 forum: Parse old log entries during restore

  • Loading branch information...
1 parent 3e90b10 commit 065a7d5b4fc714cee7e3dfce245471acdce95f9d @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
@@ -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 065a7d5

Please sign in to comment.