Merge branch 'MDL-52846' of git://github.com/stronk7/moodle
authorJun Pataleta <jun@moodle.com>
Fri, 15 May 2020 03:58:39 +0000 (11:58 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 15 May 2020 03:58:39 +0000 (11:58 +0800)
1  2 
lib/cronlib.php
lib/upgrade.txt

diff --cc lib/cronlib.php
Simple merge
diff --cc lib/upgrade.txt
@@@ -60,13 -60,10 +60,17 @@@ information provided here is intended e
    The confirmation dialogue no longer has a configurable "No" button as per similar changes in MDL-59759.
    This set of confirmation modals was unintentionally missed from that deprecation process.
  * The download_as_dataformat() method has been deprecated. Please use \core\dataformat::download_data() instead
 +* The following functions have been updated to support passing in an array of group IDs (but still support passing in a single ID):
 +  * groups_get_members_join()
 +  * groups_get_members_ids_sql()
 +* Additional parameters were added to core_get_user_dates:
 +    - type: specifies the calendar type. Optional, defaults to Gregorian.
 +    - fixday: Whether to remove leading zero for day. Optional, defaults to 1.
 +    - fixhour: Whether to remove leading zero for hour. Optional, defaults to 1.
+ * Legacy cron has been deprecated and will be removed in Moodle 4.3. This includes the functions:
+   - cron_execute_plugin_type()
+   - cron_bc_hack_plugin_functions()
+   Please, use the Task API instead: https://docs.moodle.org/dev/Task_API
  
  === 3.8 ===
  * Add CLI option to notify all cron tasks to stop: admin/cli/cron.php --stop