]> code.citadel.org Git - citadel.git/blobdiff - citadel/housekeeping.c
Started prepping for the move from LDAP Access to LDAP Sync
[citadel.git] / citadel / housekeeping.c
index ecd7519bd8a81f169bde004d4635674bc28c757d..f3577c0cf60956090fee39c2747b2e9a0a6b4ec0 100644 (file)
@@ -127,7 +127,9 @@ void do_housekeeping(void) {
        /* Then, do the "once per minute" stuff... */
        if (do_perminute_housekeeping_now) {
                cdb_check_handles();
-               CtdlPopulateUsersFromLDAP();            // This one isn't from a module so we put it here
+#ifdef HAVE_LDAP
+               CtdlSynchronizeUsersFromLDAP();         // This one isn't from a module so we put it here
+#endif
                PerformSessionHooks(EVT_TIMER);         // Run all registered TIMER hooks
        }