Commit a976a109 authored by Gilles-Philippe Leblanc's avatar Gilles-Philippe Leblanc Committed by Robert Lyon
Browse files

Bug 1705547: Fix for error with auth_ldap_sync_cron

behatnotneeded
Change-Id: Ib51cd670a4cebee9756b896ec83ef26c9a5f5d85
(cherry picked from commit b163548f)
parent e1536c2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }