Author: Cameron Ball
MDL-56601 core_user: Disable profile picture field if user is not setup
Sometimes it is possible that a user is presented with the profile
edit form, but is in a state where they are not considered fully
set up (one example is when a site is installed using the CLI script)
In these cases the filepicker gets upset when the user tries
to upload a profile picture.
This patch simply disables that field in these cases and replaces it
with an error message explaining what's wrong.
http://git.moodle.org/gw?p=moodle.git;a=commit;h=c86500a4b7399f1d50b7dc21c4fc47a249b7f3f6
http://github.com/moodle/moodle/commit/c86500a4b7399f1d50b7dc21c4fc47a249b7f3f6
+ 3.2 en [newpictureusernotsetup,core]