1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-18 06:58:08 +02:00

Merge branch 'MDL-39041-master' of git://github.com/damyon/moodle

This commit is contained in:
Dan Poltawski 2013-04-10 11:57:49 +08:00
commit aefd2e5d35

@ -5315,7 +5315,7 @@ class assign {
}
$flags = $this->get_user_flags($userid, true);
$flags->locked = 1;
$flags->locked = 0;
$this->update_user_flags($flags);
$user = $DB->get_record('user', array('id' => $userid), '*', MUST_EXIST);