mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-60736 tool_mobile: Add missing VALUE_OPTIONAL to new returned info
This commit is contained in:
parent
6aaf27af91
commit
c7189fb2bb
@ -168,11 +168,12 @@ class external extends external_api {
|
|||||||
(only if age verification is enabled).', VALUE_OPTIONAL),
|
(only if age verification is enabled).', VALUE_OPTIONAL),
|
||||||
'supportemail' => new external_value(PARAM_EMAIL, 'Site support contact email
|
'supportemail' => new external_value(PARAM_EMAIL, 'Site support contact email
|
||||||
(only if age verification is enabled).', VALUE_OPTIONAL),
|
(only if age verification is enabled).', VALUE_OPTIONAL),
|
||||||
'autolang' => new external_value(PARAM_INT, 'Whether to detect default language from browser setting.'),
|
'autolang' => new external_value(PARAM_INT, 'Whether to detect default language
|
||||||
'lang' => new external_value(PARAM_LANG, 'Default language for the site.'),
|
from browser setting.', VALUE_OPTIONAL),
|
||||||
'langmenu' => new external_value(PARAM_INT, 'Whether the language menu should be displayed.'),
|
'lang' => new external_value(PARAM_LANG, 'Default language for the site.', VALUE_OPTIONAL),
|
||||||
'langlist' => new external_value(PARAM_RAW, 'Languages on language menu.'),
|
'langmenu' => new external_value(PARAM_INT, 'Whether the language menu should be displayed.', VALUE_OPTIONAL),
|
||||||
'locale' => new external_value(PARAM_RAW, 'Sitewide locale.'),
|
'langlist' => new external_value(PARAM_RAW, 'Languages on language menu.', VALUE_OPTIONAL),
|
||||||
|
'locale' => new external_value(PARAM_RAW, 'Sitewide locale.', VALUE_OPTIONAL),
|
||||||
'warnings' => new external_warnings(),
|
'warnings' => new external_warnings(),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user