auth/ldap fix typo - thanks to Skodak for spotting it!
This commit is contained in:
+1
-1
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user