MDL-45336 scorm: copied used string from quiz
[moodle.git] / backup / upgrade.txt
blob26e2e00d8108b86e5cf10d186d1517070a457cb7
1 This files describes API changes in /backup/*,
2 information provided here is intended especially for developers.
4 === 2.6 ===
6 * The backup_controller_dbops::create_temptable_from_real_table()
7   method is not available anymore. Temp tables must be created
8   inline always.
10 * Using the info field from backup_ids_temp or backup_files_temp
11   must now go via backup_controller_dbops::decode_backup_temp_info() and
12   backup_controller_dbops::encode_backup_temp_info(). The implementation
13   of the encoding has changed.  These new functions encapsulate any future
14   changes to the encoding.
16 === 2.5 ===
18 * New optional param $sortby in backup set_source_table() allows to
19     specify the ORDER BY clause to be used. Previously it was required
20     to use the set_source_sql() more complex alternative in places
21     requiring ordering.
22 * The old 1.9 files backuplib.php, lib.php and restorelib.php and the bb directory,
23     (all under /backup) have been deleted and no code should rely on them anymore.
25 === 2.4 ===
27 * Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
28     the filename regardless of the setting 'backup_shortname'. See MDL-33812.
30 === 2.3 ===
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.2 ===
37 * Since 2.2.4+ 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.