Commit aaf20215 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1705547: Fix for error with auth_ldap_sync_cron"

parents 9aed589c b163548f
......@@ -1619,7 +1619,7 @@ class PluginAuthLdap extends PluginAuth {
* Synchronize users and groups with the LDAP server
public static function auth_ldap_sync_cron() {
$auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id');
$auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id, active');
if (!$auths) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment