MDL-58071 user: Return usernotfullysetup exception in WS
commitb63524492f8876bfac469052bc30ecec0b11fe12
authorJuan Leyva <juanleyvadelgado@gmail.com>
Fri, 24 Feb 2017 11:42:42 +0000 (24 12:42 +0100)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Fri, 24 Feb 2017 19:17:19 +0000 (24 20:17 +0100)
treec82681d72f7530d06b8b62812423d57bbf499d60
parentd0209e611f2cc59ca04cbc45824ed77a4d1af6ab
MDL-58071 user: Return usernotfullysetup exception in WS

If there is an empty required custom user profile field, Web Services
should return the usernotfullysetup exception instead ignoring it.
The mobile app already handles this exception for core fields
redirecting the user to web in order to fill the missing field.
lib/moodlelib.php