mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-79618 block_timeline: Set web services to read-only
Set the web service functions core_calendar_get_action_events_by_timesort and core_calendar_get_action_events_by_timesort to use read only sessions. These functions can hold long session locks and read-only sessions will prevent them blocking other requests.
This commit is contained in:
parent
859df15e73
commit
ebe2c3c5cc
@ -228,6 +228,7 @@ $functions = array(
|
||||
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries',
|
||||
'ajax' => true,
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
'readonlysession' => true,
|
||||
),
|
||||
'core_calendar_get_action_events_by_course' => array(
|
||||
'classname' => 'core_calendar_external',
|
||||
@ -669,6 +670,7 @@ $functions = array(
|
||||
'type' => 'read',
|
||||
'ajax' => true,
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
'readonlysession' => true,
|
||||
),
|
||||
'core_course_get_recent_courses' => array(
|
||||
'classname' => 'core_course_external',
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2023102700.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2023102700.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.4dev (Build: 20231027)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user