Version 18.3.4

This commit is contained in:
Antonio Cañas Vargas 2018-10-09 22:15:12 +02:00
parent c5d0b055c3
commit 721c8b085e
2 changed files with 9 additions and 2 deletions

View File

@ -900,10 +900,12 @@ void Acc_GetUsrCodAndRemUsrGbl (void)
void Acc_ReqRemAccountOrRemAccount (Acc_ReqOrRemUsr_t RequestOrRemove)
{
bool ItsMe = (Gbl.Usrs.Me.UsrDat.UsrCod == Gbl.Usrs.Other.UsrDat.UsrCod);
switch (RequestOrRemove)
{
case Acc_REQUEST_REMOVE_USR: // Ask if eliminate completely the user from the platform
Acc_AskIfRemoveUsrAccount (Gbl.Usrs.Me.UsrDat.UsrCod == Gbl.Usrs.Other.UsrDat.UsrCod);
Acc_AskIfRemoveUsrAccount (ItsMe);
break;
case Acc_REMOVE_USR: // Eliminate completely the user from the platform
if (Pwd_GetConfirmationOnDangerousAction ())
@ -913,6 +915,8 @@ void Acc_ReqRemAccountOrRemAccount (Acc_ReqOrRemUsr_t RequestOrRemove)
/***** Move unused contents of messages to table of deleted contents of messages *****/
Msg_MoveUnusedMsgsContentToDeleted ();
}
else
Acc_AskIfRemoveUsrAccount (ItsMe);
break;
}
}
@ -1014,6 +1018,8 @@ void Acc_RemoveMyAccount (void)
/***** Move unused contents of messages to table of deleted contents of messages *****/
Msg_MoveUnusedMsgsContentToDeleted ();
}
else
Acc_AskIfRemoveUsrAccount (true);
}
void Acc_CompletelyEliminateAccount (struct UsrData *UsrDat,

View File

@ -355,10 +355,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.3.3 (2018-10-09)"
#define Log_PLATFORM_VERSION "SWAD 18.3.4 (2018-10-09)"
#define CSS_FILE "swad18.3.css"
#define JS_FILE "swad17.17.1.js"
/*
Version 18.3.4: Oct 09, 2018 Changes in form to remove account. (234938 lines)
Version 18.3.3: Oct 09, 2018 Changes in form to remove account. (234932 lines)
Version 18.3.2: Oct 09, 2018 Changes in form to change password. (234935 lines)
Version 18.3.1: Oct 09, 2018 Changes in layout of session option. (234904 lines)