Merge branch 'MDL-35593-23' of git://github.com/mouneyrac/moodle into MOODLE_23_STABLE

This commit is contained in:
Sam Hemelryk 2012-12-12 09:38:27 +13:00
commit 09fc0fde35

View file

@ -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();
}
}
}