MDL-52964 Qtype: Small fixes to behat tests
[moodle.git] / backup / upgrade.txt
blob31e7f031106993449e9ce14894040a8a674fbba4
1 This files describes API changes in /backup/*,
2 information provided here is intended especially for developers.
4 === 3.0 ===
6 * The backup_auto_keep setting, in automated backups configuration, is now
7   renamed to backup_auto_max_kept as part of a rationalise of naming (see MDL-50602)
9 === 2.6 ===
11 * The backup_controller_dbops::create_temptable_from_real_table()
12   method is not available anymore. Temp tables must be created
13   inline always.
15 * Using the info field from backup_ids_temp or backup_files_temp
16   must now go via backup_controller_dbops::decode_backup_temp_info() and
17   backup_controller_dbops::encode_backup_temp_info(). The implementation
18   of the encoding has changed.  These new functions encapsulate any future
19   changes to the encoding.
21 === 2.5 ===
23 * New optional param $sortby in backup set_source_table() allows to
24     specify the ORDER BY clause to be used. Previously it was required
25     to use the set_source_sql() more complex alternative in places
26     requiring ordering.
27 * The old 1.9 files backuplib.php, lib.php and restorelib.php and the bb directory,
28     (all under /backup) have been deleted and no code should rely on them anymore.
30 === 2.4 ===
32 * Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
33     the filename regardless of the setting 'backup_shortname'. See MDL-33812.
35 === 2.3 ===
37 * Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
38     the filename regardless of the setting 'backup_shortname'. See MDL-33812.
40 === 2.2 ===
42 * Since 2.2.4+ the backup file name schema has changed. The ID of the course will always be part of
43     the filename regardless of the setting 'backup_shortname'. See MDL-33812.