Removed the remaining code where LDAP was optional.
[citadel.git] / citadel / housekeeping.c
index 4de8e4baf497317e3ab23578755a7ab6474c4d05..54cfe11b83fa0888917d8c384c683ef4844748cb 100644 (file)
@@ -146,13 +146,12 @@ void do_housekeeping(void) {
                cdb_check_handles();
                PerformSessionHooks(EVT_TIMER);         // Run all registered TIMER hooks
 
-#ifdef HAVE_LDAP                                       // LDAP sync isn't in a module so we can put it here
+               // LDAP sync isn't in a module so we can put it here
                static time_t last_ldap_sync = 0L;
                if ( (now - last_ldap_sync) > (time_t)CtdlGetConfigLong("c_ldap_sync_freq") ) {
                        CtdlSynchronizeUsersFromLDAP();
                        last_ldap_sync = time(NULL);
                }
-#endif
 
        keep_an_eye_on_memory_usage();
        }