From c31d0566d74d43d26cbad6bb4e9a0034ecdd7c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Arenaza?= Date: Mon, 10 Dec 2012 16:47:03 +0100 Subject: [PATCH] MDL-37088 auth_ldap: bad operator in ldap sync_user() method --- auth/ldap/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index 88bb10d3f80..1a6bac8922b 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -685,7 +685,7 @@ class auth_plugin_ldap extends auth_plugin_base { /// 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)