Permalink
Browse files

MDL-32104 forum: Fixing issue with logs during restore

  • Loading branch information...
1 parent ead4f18 commit 33c5202ba29d2f2cee986c06b20538f6b1bc4fd3 @ankitagarwal ankitagarwal committed Apr 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/backup/moodle2/restore_forum_activity_task.class.php
@@ -111,7 +111,7 @@ static public function define_restore_log_rules() {
null, 'delete discussion');
$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}&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', '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 33c5202

Please sign in to comment.