diff --git a/grade/edit/tree/index.php b/grade/edit/tree/index.php
index 39f61fdebd3..f1c14ceb324 100644
--- a/grade/edit/tree/index.php
+++ b/grade/edit/tree/index.php
@@ -354,7 +354,9 @@ if ($moving) {
print_single_button('outcomeitem.php', array('courseid'=>$course->id), get_string('addoutcomeitem', 'grades'), 'get');
}
+ echo "
";
print_single_button('index.php', array('id'=>$course->id, 'action'=>'synclegacy'), get_string('synclegacygrades', 'grades'), 'get');
+ helpbutton('synclegacygrades', get_string('synclegacygrades', 'grades'), 'grade');
}
echo '';
diff --git a/lang/en_utf8/help/grade/synclegacygrades.html b/lang/en_utf8/help/grade/synclegacygrades.html
new file mode 100644
index 00000000000..b2d40dce883
--- /dev/null
+++ b/lang/en_utf8/help/grade/synclegacygrades.html
@@ -0,0 +1,3 @@
+
The term 'legacy grades' refers to grades from versions of Moodle prior to 1.9. When upgrading, all legacy grades should be included in the Moodle 1.9 gradebook. The 'Synchronise legacy grades' button checks whether this is the case, and if necessary adds any missing legacy grades to the Moodle 1.9 gradebook.