MDL-55942 core_message: removed WS function core_user_update_user
authorMark Nelson <markn@moodle.com>
Wed, 21 Sep 2016 04:06:22 +0000 (12:06 +0800)
committerMark Nelson <markn@moodle.com>
Fri, 7 Oct 2016 08:26:40 +0000 (16:26 +0800)
commitc598f278ca7dd371399f491dbad16f114a8a8bc6
tree1ba70d1fafa18a1cb04fa8e7b0f248bc4e98557b
parentebf4e53209f1bc27e6d20a1c793de04e0579e984
MDL-55942 core_message: removed WS function core_user_update_user

This function was ignoring any capabilities and was only used to
update the preferences, but could be potentially used to update
any user attribute. A new WS function has been introduced to
handle user preferences with the necessary capability checks.
lib/db/services.php
message/amd/src/message_preferences.js
message/amd/src/notification_preference.js
message/amd/src/preferences_notifications_list_controller.js
user/externallib.php