MDL-15548 fixed regression, thanks Gary!

This commit is contained in:
skodak 2008-07-05 17:25:16 +00:00
parent 013578c1f6
commit 80775ff30c

View File

@ -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);