mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
![]() This patch modifies the way copy data is shared in order to mitigate potential race conditions and ensure that the serialised controller stored in the DB is always in a valid state. The restore controller is now considered the "source of truth" for all information about the copy operation. Backup controllers can no longer contain information about course copies. As copy creation is not atomic, it is still possible for copy controllers to become orphaned or exist in an invalid state. To mitigate this the backup cleanup task has been modified to call a new helper method copy_helper::cleanup_orphaned_copy_controllers. Summary of changes in this patch: - Copy data must now be passed through the restore controller's constructor - base_controller::get_copy has been deprecated in favour of restore_controller::get_copy - base_controller::set_copy has been deprecated without replacement - core_backup\copy\copy has been deprecated, use copy_helper.class.php's copy_helper instead - backup_cleanup_task will now clean up orphaned controllers from copy operations that went awry Thanks to Peter Burnett for assiting with testing this patch. |
||
---|---|---|
.. | ||
en | ||
README.txt |
Moodle Language Packs This directory contains the standard packaged Moodle language files, for making the Moodle interface appear in different interfaces. The default language for Moodle is the English language, under the Unicode scheme (UTF8). To add more languages to Moodle, you can either: 1) use the Moodle languages GUI in the interface to fetch new languages and install them in your 'dataroot' directory. 2) download them and unzip the packs in this directory manually For more information, see the Moodle Documentation: http://docs.moodle.org/en/Translation Cheers, Moodle Development Team