auth/ldap fix typo - thanks to Skodak for spotting it!

This commit is contained in:
martinlanghoff
2005-09-16 23:29:26 +00:00
parent e2823d208a
commit 085366cfa0
+1 -1
View File
@@ -626,7 +626,7 @@ function auth_sync_users ($bulk_insert_records = 1000, $do_updates=1) {
}
} else {
if ( record_exists("user_coursecreators", "userid", $user->id)) {
$creator = delete_records("user_coursecreators", "userid", $$user->id);
$creator = delete_records("user_coursecreators", "userid", $user->id);
if (! $creator) {
error("Cannot remove user from course creators.");
}