move file_ops to modules/ctdlsrv/serv_file.c
[citadel.git] / citadel / user_ops.c
index 3e0791f4a159c187d4ba2141808b2e662df99742..3e28fec7cbd39ffc1eb0ad09d294b2a22550be22 100644 (file)
@@ -49,7 +49,6 @@
 #include "sysdep_decls.h"
 #include "support.h"
 #include "room_ops.h"
-#include "file_ops.h"
 #include "control.h"
 #include "msgbase.h"
 #include "config.h"
@@ -764,21 +763,6 @@ void CtdlUserLogout(void)
                   CCC->curr_user, CCC->cs_pid
        );
 
-       /*
-        * If there is a download in progress, abort it.
-        */
-       if (CCC->download_fp != NULL) {
-               fclose(CCC->download_fp);
-               CCC->download_fp = NULL;
-       }
-
-       /*
-        * If there is an upload in progress, abort it.
-        */
-       if (CCC->upload_fp != NULL) {
-               abort_upl(CCC);
-       }
-
        /* Run any hooks registered by modules... */
        PerformSessionHooks(EVT_LOGOUT);