From 6f49f6c0c7cd28db48614364081fb14cae9fdac7 Mon Sep 17 00:00:00 2001 From: jerome mouneyrac Date: Tue, 16 Feb 2010 03:46:13 +0000 Subject: [PATCH] webservice MDL-21527 update_users ws function : remove user preferences, we should create a specific set_user_preferences ws function --- user/externallib.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/user/externallib.php b/user/externallib.php index 40248b29800..6125dd45d71 100644 --- a/user/externallib.php +++ b/user/externallib.php @@ -238,13 +238,6 @@ class moodle_user_external extends external_api { 'description' => new external_value(PARAM_TEXT, 'User profile description, as HTML', VALUE_OPTIONAL), 'city' => new external_value(PARAM_NOTAGS, 'Home city of the user', VALUE_OPTIONAL), 'country' => new external_value(PARAM_ALPHA, 'Home country code of the user, such as AU or CZ', VALUE_OPTIONAL), - 'preferences' => new external_multiple_structure( - new external_single_structure( - array( - 'type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preference'), - 'value' => new external_value(PARAM_RAW, 'The value of the preference') - ) - ), 'User preferences', VALUE_OPTIONAL), 'customfields' => new external_multiple_structure( new external_single_structure( array(