mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 21:45:37 +02:00
MDL-15548 fixed regression, thanks Gary!
This commit is contained in:
parent
013578c1f6
commit
80775ff30c
@ -31,6 +31,7 @@
|
||||
$user->id = -1;
|
||||
$user->auth = 'manual';
|
||||
$user->confirmed = 1;
|
||||
$user->deleted = 0;
|
||||
} else {
|
||||
// editing existing user
|
||||
require_capability('moodle/user:update', $systemcontext);
|
||||
|
Loading…
x
Reference in New Issue
Block a user