2012-08-29 16:00:19 +08:00
|
|
|
This files describes API changes in /backup/*,
|
|
|
|
information provided here is intended especially for developers.
|
|
|
|
|
2013-06-18 01:35:11 +02:00
|
|
|
=== 2.6 ===
|
|
|
|
|
|
|
|
* The backup_controller_dbops::create_temptable_from_real_table()
|
|
|
|
method is not available anymore. Temp tables must be created
|
|
|
|
inline always.
|
|
|
|
|
2013-07-11 16:53:01 +10:00
|
|
|
* Using the info field from backup_ids_temp or backup_files_temp
|
|
|
|
must now go via backup_controller_dbops::decode_backup_temp_info() and
|
|
|
|
backup_controller_dbops::encode_backup_temp_info(). The implementation
|
|
|
|
of the encoding has changed. These new functions encapsulate any future
|
|
|
|
changes to the encoding.
|
|
|
|
|
2013-03-04 18:18:09 +01:00
|
|
|
=== 2.5 ===
|
|
|
|
|
|
|
|
* New optional param $sortby in backup set_source_table() allows to
|
|
|
|
specify the ORDER BY clause to be used. Previously it was required
|
|
|
|
to use the set_source_sql() more complex alternative in places
|
|
|
|
requiring ordering.
|
2013-04-07 13:05:07 +02:00
|
|
|
* The old 1.9 files backuplib.php, lib.php and restorelib.php and the bb directory,
|
|
|
|
(all under /backup) have been deleted and no code should rely on them anymore.
|
2013-03-04 18:18:09 +01:00
|
|
|
|
2012-08-29 16:00:19 +08:00
|
|
|
=== 2.4 ===
|
|
|
|
|
|
|
|
* Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
|
|
|
|
the filename regardless of the setting 'backup_shortname'. See MDL-33812.
|
|
|
|
|
|
|
|
=== 2.3 ===
|
|
|
|
|
|
|
|
* Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
|
|
|
|
the filename regardless of the setting 'backup_shortname'. See MDL-33812.
|
|
|
|
|
|
|
|
=== 2.2 ===
|
|
|
|
|
|
|
|
* Since 2.2.4+ the backup file name schema has changed. The ID of the course will always be part of
|
2013-03-04 18:18:09 +01:00
|
|
|
the filename regardless of the setting 'backup_shortname'. See MDL-33812.
|