mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-22 00:00:40 +02:00
Version 15.125.2
This commit is contained in:
parent
047733a3aa
commit
dacbd0628e
|
@ -127,13 +127,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.125.1 (2016-01-24)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.125.2 (2016-01-24)"
|
||||
#define CSS_FILE "swad15.121.7.css"
|
||||
#define JS_FILE "swad15.121.7.js"
|
||||
|
||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
||||
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||
/*
|
||||
Version 15.125.2: Jan 24, 2016 Mark notifications as removed after removing a comment to a social note. (194609 lines)
|
||||
Version 15.125.1: Jan 24, 2016 Mark notifications as removed after removing a social note. (194603 lines)
|
||||
Version 15.125: Jan 24, 2016 Code refactoring in social timeline. (194563 lines)
|
||||
Version 15.124.3: Jan 24, 2016 Mark timeline notifications as seen after viewing social timeline. (194554 lines)
|
||||
|
|
|
@ -3690,6 +3690,12 @@ static void Soc_RemoveASocialCommentFromDB (struct SocialComment *SocCom)
|
|||
{
|
||||
char Query[128];
|
||||
|
||||
/***** Mark possible notifications on this comment as removed *****/
|
||||
Ntf_MarkNotifAsRemoved (Ntf_EVENT_TIMELINE_PUBLISH,SocCom->ComCod);
|
||||
Ntf_MarkNotifAsRemoved (Ntf_EVENT_TIMELINE_COMMENT,SocCom->ComCod);
|
||||
Ntf_MarkNotifAsRemoved (Ntf_EVENT_TIMELINE_FAV ,SocCom->ComCod);
|
||||
Ntf_MarkNotifAsRemoved (Ntf_EVENT_TIMELINE_MENTION,SocCom->ComCod);
|
||||
|
||||
/***** Remove favs for this comment *****/
|
||||
sprintf (Query,"DELETE FROM social_comments_fav WHERE ComCod='%ld'",
|
||||
SocCom->ComCod);
|
||||
|
|
Loading…
Reference in New Issue
Block a user