Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-56333 core_message: fixed return type for get_profile WS
  • Loading branch information
mdjnelson committed Oct 10, 2016
1 parent de55cb1 commit cc22b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message/externallib.php
Expand Up @@ -1048,7 +1048,7 @@ public static function data_for_messagearea_get_profile_returns() {
array(
'userid' => new external_value(PARAM_INT, 'The id of the user whose profile we are viewing'),
'email' => new external_value(core_user::get_property_type('email'), 'An email address'),
'country' => new external_value(core_user::get_property_type('country'), 'Home country code of the user'),
'country' => new external_value(PARAM_TEXT, 'Home country of the user'),
'city' => new external_value(core_user::get_property_type('city'), 'Home city of the user'),
'fullname' => new external_value(PARAM_NOTAGS, 'The user\'s name'),
'profileimageurl' => new external_value(PARAM_URL, 'User picture URL'),
Expand Down

0 comments on commit cc22b51

Please sign in to comment.