mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +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),
|
||||
'supportemail' => new external_value(PARAM_EMAIL, 'Site support contact email
|
||||
(only if age verification is enabled).', VALUE_OPTIONAL),
|
||||
'autolang' => new external_value(PARAM_INT, 'Whether to detect default language from browser setting.'),
|
||||
'lang' => new external_value(PARAM_LANG, 'Default language for the site.'),
|
||||
'langmenu' => new external_value(PARAM_INT, 'Whether the language menu should be displayed.'),
|
||||
'langlist' => new external_value(PARAM_RAW, 'Languages on language menu.'),
|
||||
'locale' => new external_value(PARAM_RAW, 'Sitewide locale.'),
|
||||
'autolang' => new external_value(PARAM_INT, 'Whether to detect default language
|
||||
from browser setting.', VALUE_OPTIONAL),
|
||||
'lang' => new external_value(PARAM_LANG, 'Default language for the site.', VALUE_OPTIONAL),
|
||||
'langmenu' => new external_value(PARAM_INT, 'Whether the language menu should be displayed.', VALUE_OPTIONAL),
|
||||
'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(),
|
||||
)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user