Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-37295 forum: Parse old log entries during restore

  • Loading branch information...
commit a518f7eff571175658d1bbfb0f58492c0797302a 1 parent 2713f92
Ankit Agarwal ankitagarwal authored
1  mod/forum/backup/moodle2/restore_forum_activity_task.class.php
@@ -112,6 +112,7 @@ static public function define_restore_log_rules() {
112 112 $rules[] = new restore_log_rule('forum', 'delete discussion', 'view.php?id={course_module}', '{forum}');
113 113 $rules[] = new restore_log_rule('forum', 'add post', 'discuss.php?d={forum_discussion}&parent={forum_post}', '{forum_post}');
114 114 $rules[] = new restore_log_rule('forum', 'update post', 'discuss.php?d={forum_discussion}#p{forum_post}&parent={forum_post}', '{forum_post}');
  115 + $rules[] = new restore_log_rule('forum', 'update post', 'discuss.php?d={forum_discussion}&parent={forum_post}', '{forum_post}');
115 116 $rules[] = new restore_log_rule('forum', 'prune post', 'discuss.php?d={forum_discussion}', '{forum_post}');
116 117 $rules[] = new restore_log_rule('forum', 'delete post', 'discuss.php?d={forum_discussion}', '[post]');
117 118

0 comments on commit a518f7e

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