]> git.mjollnir.org Git - moodle.git/commit
enrol/db/enrol.php ignore delt'd usrs when enroling
authormartinlanghoff <martinlanghoff>
Thu, 28 Sep 2006 01:20:42 +0000 (01:20 +0000)
committermartinlanghoff <martinlanghoff>
Thu, 28 Sep 2006 01:20:42 +0000 (01:20 +0000)
commitf5896f0fb6770fee52a27b78e9d1ff6ed809eef6
treefed9c001822cc237add0e590dc9707c6d27b323f
parent13e8d6e46faa40c6eb2e54d0b6c211bcc3a52c46
enrol/db/enrol.php  ignore delt'd usrs when enroling

Previously the import process would throw a non-fatal error when it found a
non-one number of users with the remote key.  This meant that
when there was a deleted user with the same remote key as an existing user, it
would throw an error, and report that there were no users for that remote key.
Fixed it so that it now ignores deleted users, and provides more accurate
and more precise error messages in the event that there are further
problems.

Author: Peter Bulmer
enrol/database/enrol.php