Merge branch 'MDL-68729-master' of https://github.com/sammarshallou/moodle into master
[moodle.git] / admin / upgrade.txt
blobd3adb1808f72a00576921b288c59cc9d70c4b599
1 This files describes API changes in /admin/*.
3 === 3.9 ===
5 * The following functions, previously used (exclusively) by upgrade steps are not available anymore because of the upgrade cleanup performed for this version. See MDL-65809 for more info:
6     - upgrade_fix_block_instance_configuration()
7     - upgrade_theme_is_from_family()
8     - upgrade_find_theme_location()
9     - linkcoursesectionsupgradescriptwasrun setting
10     - upgrade_block_positions()
12 === 3.8 ===
14 * Admin setting "Open to Google" (opentogoogle) has been renamed to the more generic "Open to search engines" (opentowebcrawlers).
15   This is a more accurate representation of what is being set and the config string has also been moved and updated to reflect this.
17 === 3.7 ===
19 * Admin setting "Allow blocks to use the dock" (allowblockstodock) has been removed & stings deprecated.
20   Docking of blocks is no longer supported within the core themes (Boost, Classic).
21   Please see MDL-64506 for further details.
23 === 3.3 ===
25 * The admin settings admin_setting_configselect and admin_setting_configmultiselect now support the optgroup tag.
26   Grouping of options can be created with this new tag.
27   For using it, the option parameters needs the Group names as indexes:
28   [
29     "Spain" =>  ["madrid" => "Madrid", "barcelona" => "Barcelona"],
30     "France" => ["paris" => "Paris", "marseille" => "Marseille"],
31   ]
33 === 3.2 ===
35 * Admin settings have been refined to better support right-to-left languages. In RTL,
36   most fields should not have their direction flipped, a URL, a path to a file, ...
37   are always displayed LTR. The admin setting will now best guess if they should be
38   RTLized based on their PARAM_* type. To override that guess, use
39   admin_setting::set_force_ltr(true/false).