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:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user