mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-35593-23' of git://github.com/mouneyrac/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
09fc0fde35
1 changed files with 3 additions and 2 deletions
|
@ -173,7 +173,8 @@ class core_webservice_external extends external_api {
|
|||
new external_single_structure(
|
||||
array(
|
||||
'name' => new external_value(PARAM_RAW, 'function name'),
|
||||
'version' => new external_value(PARAM_FLOAT, 'The version number of moodle site/local plugin linked to the function')
|
||||
'version' => new external_value(PARAM_TEXT,
|
||||
'The version number of the component to which the function belongs')
|
||||
), 'functions that are available')
|
||||
),
|
||||
'downloadfiles' => new external_value(PARAM_INT, '1 if users are allowed to download files, 0 if not', VALUE_OPTIONAL),
|
||||
|
@ -237,4 +238,4 @@ class moodle_webservice_external extends external_api {
|
|||
public static function get_siteinfo_returns() {
|
||||
return core_webservice_external::get_site_info_returns();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue