Killed infinite loop when upgrading teachers! (merge from stable)

This commit is contained in:
moodler
2006-10-31 04:38:39 +00:00
parent 23f5ee25aa
commit 459e27f3a0
+1
View File
@@ -1231,6 +1231,7 @@ function moodle_install_roles() {
// ignore site level teacher assignments
if ($teacher->course == SITEID) {
$progresscount++;
$rs->MoveNext();
continue;
}
// populate the user_lastaccess table