Commit bed3e3b1 authored by Per Cederqvist's avatar Per Cederqvist

(do_delete_text): Don't forget to call mark_person_as_changed -- the

	authors' list of created texts must be updated.
parent 2469e470
/*
* $Id: text.c,v 0.72 1999/06/05 12:19:10 byers Exp $
* $Id: text.c,v 0.73 1999/06/28 21:41:08 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -34,7 +34,7 @@
#endif
static const char *
rcsid = "$Id: text.c,v 0.72 1999/06/05 12:19:10 byers Exp $";
rcsid = "$Id: text.c,v 0.73 1999/06/28 21:41:08 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -1628,7 +1628,10 @@ do_delete_text(Text_no text_no,
send_async_deleted_text(text_no, text_s);
if ((author = cached_get_person_stat (text_s->author)) != NULL)
{
l2g_delete_global_in_sorted(&author->created_texts, text_no);
mark_person_as_changed(text_s->author);
}
while ( text_s->no_of_misc > 0 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment