Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-37295 forum: Parse old log entries during restore

  • Loading branch information...
commit a518f7eff571175658d1bbfb0f58492c0797302a 1 parent 2713f92
@ankitagarwal ankitagarwal authored
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]');
Please sign in to comment.
Something went wrong with that request. Please try again.