mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-9367 restore: Roll only configuration dates
It was decided to roll only configuration dates and any date related to user content such as 'timecreated' , 'timemodified' etc should not be rolled forward.
This commit is contained in:
parent
d509f80c48
commit
0d14fcbc60
57 changed files with 1617 additions and 74 deletions
|
@ -51,6 +51,8 @@ abstract class restore_step extends base_step {
|
|||
* Note we are using one static cache here, but *by restoreid*, so it's ok for concurrence/multiple
|
||||
* executions in the same request
|
||||
*
|
||||
* Note: The policy is to roll date only for configurations and not for user data. see MDL-9367.
|
||||
*
|
||||
* @param int $value Time value (seconds since epoch), or empty for nothing
|
||||
* @return int Time value after applying the date offset, or empty for nothing
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue