[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/backup/ -> upgrade.txt (source)

   1  This files describes API changes in /backup/*,
   2  information provided here is intended especially for developers.
   3  
   4  === 2.6 ===
   5  
   6  * The backup_controller_dbops::create_temptable_from_real_table()
   7    method is not available anymore. Temp tables must be created
   8    inline always.
   9  
  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.
  15  
  16  === 2.5 ===
  17  
  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.
  24  
  25  === 2.4 ===
  26  
  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.
  29  
  30  === 2.3 ===
  31  
  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.
  34  
  35  === 2.2 ===
  36  
  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.


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1