mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-67853 message: Remove on/offline settings on message preferences
This commit is contained in:
parent
e8ad1eaa43
commit
d74bd798b6
44 changed files with 696 additions and 682 deletions
|
@ -3020,6 +3020,7 @@ class core_message_external extends external_api {
|
|||
*
|
||||
* @return external_single_structure the structure
|
||||
* @since Moodle 3.2
|
||||
* @todo Remove loggedin and loggedoff from processors structure on MDL-73284.
|
||||
*/
|
||||
protected static function get_preferences_structure() {
|
||||
return new external_single_structure(
|
||||
|
@ -3061,15 +3062,20 @@ class core_message_external extends external_api {
|
|||
'name' => new external_value(PARAM_NOTAGS, 'Name'),
|
||||
'displayname' => new external_value(PARAM_TEXT, 'Display name'),
|
||||
'checked' => new external_value(PARAM_BOOL, 'Is checked?'),
|
||||
)
|
||||
),
|
||||
'DEPRECATED ATTRIBUTE -
|
||||
Kept for backward compatibility, use enabled instead.',
|
||||
),
|
||||
'loggedoff' => new external_single_structure(
|
||||
array(
|
||||
'name' => new external_value(PARAM_NOTAGS, 'Name'),
|
||||
'displayname' => new external_value(PARAM_TEXT, 'Display name'),
|
||||
'checked' => new external_value(PARAM_BOOL, 'Is checked?'),
|
||||
)
|
||||
),
|
||||
'DEPRECATED ATTRIBUTE -
|
||||
Kept for backward compatibility, use enabled instead.',
|
||||
),
|
||||
'enabled' => new external_value(PARAM_BOOL, 'Is enabled?'),
|
||||
)
|
||||
),
|
||||
'Processors values for this notification'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue