X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuser_ops.c;h=118ee60618459d4fc56efe2946c11781717e76cf;hb=58621c6cc8f4963f1c9e2b64ab52b1716084cc12;hp=67935a34f20ae7bbfebfe3e25650eaef4df8f9ce;hpb=c2c1aa8b94024803f623575c5f9ea89d9317f1e0;p=citadel.git diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 67935a34f..118ee6061 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -1933,26 +1933,6 @@ void cmd_asup(char *cmdbuf) -/* - * Check to see if the user who we just sent mail to is logged in. If yes, - * bump the 'new mail' counter for their session. That enables them to - * receive a new mail notification without having to hit the database. - */ -void BumpNewMailCounter(long which_user) { - CitContext *ptr; - - begin_critical_section(S_SESSION_TABLE); - - for (ptr = ContextList; ptr != NULL; ptr = ptr->next) { - if (ptr->user.usernum == which_user) { - ptr->newmail += 1; - } - } - - end_critical_section(S_SESSION_TABLE); -} - - /* * Count the number of new mail messages the user has */