Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
=== 4.5 Onwards ===
2
 
3
This file has been replaced by UPGRADING.md. See MDL-81125 for further information.
4
 
5
===
1 efrain 6
This files describes API changes in /backup/*,
7
information provided here is intended especially for developers.
8
 
9
=== 4.4 ===
10
 
11
* New \core_backup\hook\before_course_modified_check hook which can be used to exclude events from automated backup has been implemented (See MDL-73926 and MDL-81044).
12
 
13
=== 4.3 ===
14
 
15
* The function get_async_backup_links_backup has a new param of $backupid and is part of a fix to
16
  async backups (See MDL-69983).
17
* During restore the function create_included_users has been updated to convert backups containing
18
  legacy MD5 hashed passwords to the new password hashing scheme (See MDL-79134).
19
 
20
=== 4.1 ===
21
 
22
* The class core_backup\copy\copy in backup/util/ui/classes/copy.php has been deprecated, please use copy_helper
23
  from backup/util/helper/copy_helper.class.php instead.
24
* The method set_copy() in backup/controller/base_controller.class.php has been deprecated, please use a restore
25
  controller for storing copy information instead.
26
* The method get_copy() in backup/controller/base_controller.class.php has been deprecated, please use get_copy()
27
  from backup/controller/restore_controller.class.php instead.
28
 
29
=== 4.0 ===
30
 
31
* Backup UI labels now accept empty/whitespace-only contents.
32
 
33
=== 3.11 ===
34
 
35
 * New setting called "Include permission overrides" has been implemented. The default
36
   settings is OFF for import, and ON for restore.
37
 
38
=== 3.10 ===
39
 
40
 * Local plugins can now hook into a backup and restore process of grade items by
41
   using define_grade_item_plugin_structure method (See MDL-69418).
42
 
43
=== 3.1 ===
44
 
45
* New close() method added to loggers so they can close any open resource. Previously
46
  any backup and restore operation using the file logger may be leaving unclosed files.
47
* New destroy() method added to loggers, normally called from backup and restore controllers
48
  own destroy() method to ensure that all references in the chained loggers are deleted
49
  and any open resource within them is closed properly.
50
 
51
=== 3.0 ===
52
 
53
* The backup_auto_keep setting, in automated backups configuration, is now
54
  renamed to backup_auto_max_kept as part of a rationalise of naming (see MDL-50602)
55
 
56
=== 2.6 ===
57
 
58
* The backup_controller_dbops::create_temptable_from_real_table()
59
  method is not available anymore. Temp tables must be created
60
  inline always.
61
 
62
* Using the info field from backup_ids_temp or backup_files_temp
63
  must now go via backup_controller_dbops::decode_backup_temp_info() and
64
  backup_controller_dbops::encode_backup_temp_info(). The implementation
65
  of the encoding has changed.  These new functions encapsulate any future
66
  changes to the encoding.
67
 
68
=== 2.5 ===
69
 
70
* New optional param $sortby in backup set_source_table() allows to
71
    specify the ORDER BY clause to be used. Previously it was required
72
    to use the set_source_sql() more complex alternative in places
73
    requiring ordering.
74
* The old 1.9 files backuplib.php, lib.php and restorelib.php and the bb directory,
75
    (all under /backup) have been deleted and no code should rely on them anymore.
76
 
77
=== 2.4 ===
78
 
79
* Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
80
    the filename regardless of the setting 'backup_shortname'. See MDL-33812.
81
 
82
=== 2.3 ===
83
 
84
* Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
85
    the filename regardless of the setting 'backup_shortname'. See MDL-33812.
86
 
87
=== 2.2 ===
88
 
89
* Since 2.2.4+ the backup file name schema has changed. The ID of the course will always be part of
90
    the filename regardless of the setting 'backup_shortname'. See MDL-33812.