Permalink
Browse files

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

… MOODLE_23_STABLE
  • Loading branch information...
2 parents 6e89cdb + c7a0750 commit 09fc0fde35e3cf3741bc829bfdb09daf48d42c5b Sam Hemelryk committed Dec 11, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 webservice/externallib.php
@@ -173,7 +173,8 @@ public static function get_site_info_returns() {
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 @@ public function get_siteinfo($serviceshortnames = array()) {
public static function get_siteinfo_returns() {
return core_webservice_external::get_site_info_returns();
}
-}
+}

0 comments on commit 09fc0fd

Please sign in to comment.