Version18.121.1

This commit is contained in:
Antonio Cañas Vargas 2019-05-16 14:22:10 +02:00
parent df541e7758
commit 7b95e14578
2 changed files with 5 additions and 22 deletions

View File

@ -448,10 +448,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf ps2pdf source.ps destination.pdf
*/ */
#define Log_PLATFORM_VERSION "SWAD 18.121 (2019-05-13)" #define Log_PLATFORM_VERSION "SWAD 18.121.1 (2019-05-16)"
#define CSS_FILE "swad18.112.1.css" #define CSS_FILE "swad18.112.1.css"
#define JS_FILE "swad18.116.5.js" #define JS_FILE "swad18.116.5.js"
/* /*
Version 18.121.1: May 16, 2019 Fixed bug in renaming of institution. (242697 lines)
Version 18.121: May 13, 2019 Module swad_web_service is renamed as swad_API. Version 18.121: May 13, 2019 Module swad_web_service is renamed as swad_API.
New API function getCourses. (242708 lines) New API function getCourses. (242708 lines)
Version 18.120.2: Apr 30, 2019 Code refactoring related to boxes. (242465 lines) Version 18.120.2: Apr 30, 2019 Code refactoring related to boxes. (242465 lines)

View File

@ -1792,7 +1792,7 @@ void Ins_RemoveInstitution (void)
} }
/*****************************************************************************/ /*****************************************************************************/
/***************** Change the name of an institution *******************/ /********************* Change the name of an institution *********************/
/*****************************************************************************/ /*****************************************************************************/
void Ins_RenameInsShort (void) void Ins_RenameInsShort (void)
@ -1821,32 +1821,14 @@ void Ins_RenameInsFull (void)
void Ins_RenameInsShortInConfig (void) void Ins_RenameInsShortInConfig (void)
{ {
struct Instit *Ins = NULL;
/***** Institution constructor *****/
Ins_EditingInstitutionConstructor (&Ins);
/***** Rename institution *****/ /***** Rename institution *****/
Ins->InsCod = Gbl.Hierarchy.Ins.InsCod; Ins_RenameInstitution (&Gbl.Hierarchy.Ins,Cns_SHRT_NAME);
Ins_RenameInstitution (Ins,Cns_SHRT_NAME);
/***** Institution destructor *****/
Ins_EditingInstitutionDestructor (&Ins);
} }
void Ins_RenameInsFullInConfig (void) void Ins_RenameInsFullInConfig (void)
{ {
struct Instit *Ins = NULL;
/***** Institution constructor *****/
Ins_EditingInstitutionConstructor (&Ins);
/***** Rename institution *****/ /***** Rename institution *****/
Ins->InsCod = Gbl.Hierarchy.Ins.InsCod; Ins_RenameInstitution (&Gbl.Hierarchy.Ins,Cns_FULL_NAME);
Ins_RenameInstitution (Ins,Cns_FULL_NAME);
/***** Institution destructor *****/
Ins_EditingInstitutionDestructor (&Ins);
} }
/*****************************************************************************/ /*****************************************************************************/