More of the same. I think it's time to reduce complexity here.
[citadel.git] / citadel / modules / rssclient / serv_rssclient.c
index 049f8801c7f0d40e834e5b0ac080b18ac2a77885..0d8442b41551ba101e2c46196c56594a3dbf26fb 100644 (file)
@@ -1269,11 +1269,6 @@ void rssclient_scan(void *args) {
        static time_t last_run = 0L;
        static int doing_rssclient = 0;
        rssnetcfg *rptr = NULL;
-       CitContext rssclientCC;
-
-       /* Give this thread its own private CitContext */
-       CtdlFillSystemContext(&rssclientCC, "rssclient");
-       citthread_setspecific(MyConKey, (void *)&rssclientCC );
 
        /*
         * This is a simple concurrency check to make sure only one rssclient run
@@ -1298,7 +1293,6 @@ void rssclient_scan(void *args) {
        CtdlLogPrintf(CTDL_DEBUG, "rssclient ended\n");
        last_run = time(NULL);
        doing_rssclient = 0;
-       CtdlClearSystemContext();
        return NULL;
 }