MDL-58904 backup: old backups do not contain new fields
commitf86e8699b9810343f21540ea55ffcd39112ef543
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 11 May 2017 17:55:21 +0000 (11 19:55 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 11 May 2017 17:55:21 +0000 (11 19:55 +0200)
tree92dd15409b33b43596c2bba70fa3f868cd8fd782
parentbcf69a655a48a4a72c55b9a3f48ebe30389697f4
MDL-58904 backup: old backups do not contain new fields

Hence we need to apply DB defaults for them when missing:

  - type = 0
  - timesort = null
backup/moodle2/restore_stepslib.php