Version19.44.1

This commit is contained in:
Antonio Cañas Vargas 2019-10-26 01:11:09 +02:00
parent 4a9bc596eb
commit 255b06c707
2 changed files with 7 additions and 2 deletions

View File

@ -487,14 +487,14 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.44 (2019-10-25)"
#define Log_PLATFORM_VERSION "SWAD 19.44.1 (2019-10-26)"
#define CSS_FILE "swad19.42.6.css"
#define JS_FILE "swad19.39.js"
/*
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
// TODO: Impedir la creación y edición de proyectos si no son editables.
// TODO: Eliminar asignatura de prj_config al eliminar una asignatura.
Version 19.44.1: Oct 26, 2019 Remove course from project configuration when removing course. (246284 lines)
Version 19.44: Oct 25, 2019 Configuration of all projects.
Changed preassigned (projects) to assigned in database and messages. (246280 lines)
3/4 changes necessary in database:

View File

@ -4170,6 +4170,11 @@ void Prj_RemoveCrsProjects (long CrsCod)
/***** Flush cache *****/
Prj_FlushCacheMyRolesInProject ();
/***** Remove configuration of projects in the course *****/
DB_QueryDELETE ("can not remove configuration of projects of a course",
"DELETE FROM prj_config WHERE CrsCod=%ld",
CrsCod);
/***** Remove projects *****/
DB_QueryDELETE ("can not remove all the projects of a course",
"DELETE FROM projects WHERE CrsCod=%ld",