]> git.mjollnir.org Git - moodle.git/commit
MDL-4207 Don't overwrite modified user profile values with empty LDAP values when...
authoriarenaza <iarenaza>
Sat, 31 May 2008 13:30:22 +0000 (13:30 +0000)
committeriarenaza <iarenaza>
Sat, 31 May 2008 13:30:22 +0000 (13:30 +0000)
commit6ceb0cd0ddbdb87c1c2f1cca18ba3fff9f974d5c
treef25bf06ad273de4058874af09ae9c735ecb6ed8e
parent5dd27c57f615d00e54079f06ac9882ac106af92f
MDL-4207 Don't overwrite modified user profile values with empty LDAP values when 'unlocked if empty' is set

If user profile values are locked to LDAP, then LDAP should provide those
values.

But the purpose of the setting 'unlocked if empty' is to allow the user to fill
in a value for the selected field _if LDAP is giving nothing_ for this field.
Thus it makaes sense to let this value stand in until LDAP is giving a value
for this field.

Merged from MOODLE_18_STABLE
lib/moodlelib.php