MDL-46991 Availability: Conditional dates not updated on restore

This commit is contained in:
sam marshall
2014-09-18 16:37:53 +01:00
parent 272fec367f
commit 5176504d3f
8 changed files with 158 additions and 55 deletions
+3
View File
@@ -87,6 +87,9 @@ abstract class tree_node {
* The default behaviour is simply to return false. If there is a problem
* with the update, $logger can be used to output a warning.
*
* Note: If you need information about the date offset, call
* \core_availability\info::get_restore_date_offset($restoreid).
*
* @param string $restoreid Restore ID
* @param int $courseid ID of target course
* @param \base_logger $logger Logger for any warnings