Permalink
Browse files

MDL-37088 auth_ldap: bad operator in ldap sync_user() method

  • Loading branch information...
1 parent 4bd6f71 commit a5428e15b27f8a067d84d1842df60072b7a30b66 @iarenaza iarenaza committed Dec 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/ldap/auth.php
View
2 auth/ldap/auth.php
@@ -711,7 +711,7 @@ function sync_users($do_updates=true) {
/// User removal
// 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?)
- if ($this->config->removeuser !== AUTH_REMOVEUSER_KEEP) {
+ if ($this->config->removeuser != AUTH_REMOVEUSER_KEEP) {
$sql = 'SELECT u.*
FROM {user} u
LEFT JOIN {tmp_extuser} e ON (u.username = e.username AND u.mnethostid = e.mnethostid)

0 comments on commit a5428e1

Please sign in to comment.