More of the same. I think it's time to reduce complexity here.
[citadel.git] / citadel / modules / pop3client / serv_pop3client.c
index c6b349c6ce9468fc12a71da9b986d0bd775ef763..0b2eb99be648be621704b725f3313e757d2e8a76 100644 (file)
@@ -306,11 +306,6 @@ void pop3client_scan(void) {
        static int doing_pop3client = 0;
        struct pop3aggr *pptr;
        time_t fastest_scan;
-       CitContext popclientCC;
-
-       /* Give this thread its own private CitContext */
-       CtdlFillSystemContext(&popclientCC, "popclient");
-       citthread_setspecific(MyConKey, (void *)&popclientCC );
 
        if (config.c_pop3_fastest < config.c_pop3_fetch)
                fastest_scan = config.c_pop3_fastest;
@@ -349,7 +344,6 @@ void pop3client_scan(void) {
        CtdlLogPrintf(CTDL_DEBUG, "pop3client ended\n");
        last_run = time(NULL);
        doing_pop3client = 0;
-       CtdlClearSystemContext();
 }