mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-37088 auth_ldap: bad operator in ldap sync_user() method
This commit is contained in:
parent
4bd6f71bad
commit
a5428e15b2
@ -711,7 +711,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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user