Skip to content

Commit

Permalink
MDL-37088 auth_ldap: bad operator in ldap sync_user() method
Browse files Browse the repository at this point in the history
  • Loading branch information
iarenaza committed Dec 10, 2012
1 parent 0b7c52d commit 88d48cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/ldap/auth.php
Expand Up @@ -711,7 +711,7 @@ function sync_users($do_updates=true) {
/// User removal /// User removal
// Find users in DB that aren't in ldap -- to be removed! // Find users in DB that aren't in ldap -- to be removed!
// this is still not as scalable (but how often do we mass delete?) // this is still not as scalable (but how often do we mass delete?)
if ($this->config->removeuser !== AUTH_REMOVEUSER_KEEP) { if ($this->config->removeuser != AUTH_REMOVEUSER_KEEP) {
$sql = 'SELECT u.* $sql = 'SELECT u.*
FROM {user} u FROM {user} u
LEFT JOIN {tmp_extuser} e ON (u.username = e.username AND u.mnethostid = e.mnethostid) LEFT JOIN {tmp_extuser} e ON (u.username = e.username AND u.mnethostid = e.mnethostid)
Expand Down

0 comments on commit 88d48cd

Please sign in to comment.