Commit b163548f authored by Gilles-Philippe Leblanc's avatar Gilles-Philippe Leblanc Committed by Cecilia Vela Gurovic
Browse files

Bug 1705547: Fix for error with auth_ldap_sync_cron

behatnotneeded
Change-Id: Ib51cd670a4cebee9756b896ec83ef26c9a5f5d85
parent e0f9171b
......@@ -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) {
return;
}
......
Markdown is supported
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