Cleaned a few warnings about deprecated functions.
[citadel.git] / citadel / context.c
index c7902af980ad2fb743d8927f7529b3074e72fbfa..bb16d04765e560c5e4d3948cc4dfd788a43bac87 100644 (file)
@@ -239,7 +239,7 @@ void RemoveContext (CitContext *con)
         *       might make references to "CC" assuming it's the right one.
         */
        become_session(con);
-       logout();
+       CtdlUserLogout();
        PerformSessionHooks(EVT_STOP);
        become_session(NULL);