Permalink
Browse files

Merge branch 'wip_22_mdl-37088_bad_operator_ldap_sync_user' of https:…

…//github.com/iarenaza/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents e6e5a4d + 62d0c27 commit 2a5953c545fed9d993049d9995bc38682ef34d09 Sam Hemelryk committed Dec 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/ldap/auth.php
View
@@ -691,7 +691,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 2a5953c

Please sign in to comment.