mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-24 00:01:03 +02:00
Version18.135.5
This commit is contained in:
parent
35587c9950
commit
03cef107c6
|
@ -458,10 +458,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.135.4 (2019-07-17)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.135.5 (2019-07-17)"
|
||||
#define CSS_FILE "swad18.132.2.css"
|
||||
#define JS_FILE "swad18.130.2.js"
|
||||
/*
|
||||
Version 18.135.5: Jul 17, 2019 Changes while removing a match. (243692 lines)
|
||||
Version 18.135.4: Jul 17, 2019 Changes and bug fixing while removing a match. (243682 lines)
|
||||
Version 18.135.3: Jul 17, 2019 Removed unused code in games.
|
||||
Optimization in match buttons. (243668 lines)
|
||||
|
|
10
swad_game.c
10
swad_game.c
|
@ -3096,6 +3096,16 @@ void Gam_RemoveMatchTch (void)
|
|||
" AND games.CrsCod=%ld", // Extra check
|
||||
Match.MchCod,Gbl.Hierarchy.Crs.CrsCod);
|
||||
|
||||
/* Remove students' answers to match */
|
||||
DB_QueryDELETE ("can not remove students' answers associated to a match",
|
||||
"DELETE FROM gam_answers"
|
||||
" USING gam_answers,gam_matches,games"
|
||||
" WHERE gam_answers.MchCod=%ld"
|
||||
" AND gam_answers.MchCod=gam_matches.MchCod"
|
||||
" AND gam_matches.GamCod=games.GamCod"
|
||||
" AND games.CrsCod=%ld", // Extra check
|
||||
Match.MchCod,Gbl.Hierarchy.Crs.CrsCod);
|
||||
|
||||
/* Remove groups associated to the match */
|
||||
DB_QueryDELETE ("can not remove the groups associated to a match",
|
||||
"DELETE FROM gam_grp"
|
||||
|
|
Loading…
Reference in New Issue
Block a user