mirror of https://github.com/acanas/swad-core.git
Version 15.93.7
This commit is contained in:
parent
06ef7efbdc
commit
8a44216c7c
|
@ -110,23 +110,23 @@
|
||||||
// TODO: Fix bug at the end of ranking (number too low) when a course is selected
|
// TODO: Fix bug at the end of ranking (number too low) when a course is selected
|
||||||
// TODO: Reply to all
|
// TODO: Reply to all
|
||||||
// TODO: Hour in exam announcement should start at six a.m.
|
// TODO: Hour in exam announcement should start at six a.m.
|
||||||
// TODO: When a file, notice, etc. is removed, it should be removed from social events?
|
|
||||||
// TODO: Change "Actividad pública" to "Actividad de Antonio" in user's profile
|
// TODO: Change "Actividad pública" to "Actividad de Antonio" in user's profile
|
||||||
// TODO: Put parameter FilCod instead of Path to go to a file in Notifications and Social?
|
// TODO: Forums For_FORUM_GLOBAL_USRS and For_FORUM_SWAD_USRS should be available for guests for coherence with social timeline?
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.93.6 (2016-01-03)"
|
#define Log_PLATFORM_VERSION "SWAD 15.93.7 (2016-01-03)"
|
||||||
#define CSS_FILE "swad15.88.1.css"
|
#define CSS_FILE "swad15.88.1.css"
|
||||||
#define JS_FILE "swad15.77.7.js"
|
#define JS_FILE "swad15.77.7.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
Version 15.93.6: Jan 03, 2016 Social notes are marked as unavailable when a exam announcement is removed. (190409 lines)
|
Version 15.93.7: Jan 03, 2016 Social note is marked as unavailable when a forum post is removed. (190419 lines)
|
||||||
Version 15.93.5: Jan 03, 2016 Social notes are marked as unavailable when a notice is removed. (190406 lines)
|
Version 15.93.6: Jan 03, 2016 Social note is marked as unavailable when a exam announcement is removed. (190409 lines)
|
||||||
|
Version 15.93.5: Jan 03, 2016 Social note is marked as unavailable when a notice is removed. (190406 lines)
|
||||||
6 changes necessary in database:
|
6 changes necessary in database:
|
||||||
CREATE UNIQUE INDEX NotCod ON social_notes (NotCod);
|
CREATE UNIQUE INDEX NotCod ON social_notes (NotCod);
|
||||||
DROP INDEX SocCod ON social_notes;
|
DROP INDEX SocCod ON social_notes;
|
||||||
|
|
11
swad_forum.c
11
swad_forum.c
|
@ -3907,6 +3907,17 @@ void For_DelPst (void)
|
||||||
Ntf_SetNotifAsRemoved (Ntf_EVENT_FORUM_POST_COURSE,PstCod);
|
Ntf_SetNotifAsRemoved (Ntf_EVENT_FORUM_POST_COURSE,PstCod);
|
||||||
Ntf_SetNotifAsRemoved (Ntf_EVENT_FORUM_REPLY,PstCod);
|
Ntf_SetNotifAsRemoved (Ntf_EVENT_FORUM_REPLY,PstCod);
|
||||||
|
|
||||||
|
/***** Mark possible social note as unavailable *****/
|
||||||
|
switch (Gbl.Forum.ForumType) // Only if forum is public for any logged user
|
||||||
|
{
|
||||||
|
case For_FORUM_GLOBAL_USRS:
|
||||||
|
case For_FORUM_SWAD_USRS:
|
||||||
|
Soc_MarkSocialNoteAsUnavailableUsingNoteTypeAndCod (Soc_NOTE_FORUM_POST,PstCod);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (ThreadDeleted)
|
if (ThreadDeleted)
|
||||||
{
|
{
|
||||||
Lay_ShowAlert (Lay_SUCCESS,Txt_Post_and_thread_removed);
|
Lay_ShowAlert (Lay_SUCCESS,Txt_Post_and_thread_removed);
|
||||||
|
|
Loading…
Reference in New Issue