mirror of https://github.com/acanas/swad-core.git
Version 16.84.1
This commit is contained in:
parent
04c06799b1
commit
f45f21897c
|
@ -1045,9 +1045,6 @@ void Acc_CompletelyEliminateAccount (struct UsrData *UsrDat,
|
|||
/***** Remove user from table of seen announcements *****/
|
||||
Ann_RemoveUsrFromSeenAnnouncements (UsrDat->UsrCod);
|
||||
|
||||
/***** Remove user's usage reports *****/
|
||||
Rep_RemoveUsrUsageReports (UsrDat->UsrCod);
|
||||
|
||||
/***** Remove user from table of connected users *****/
|
||||
sprintf (Query,"DELETE FROM connected WHERE UsrCod='%ld'",
|
||||
UsrDat->UsrCod);
|
||||
|
@ -1067,6 +1064,12 @@ void Acc_CompletelyEliminateAccount (struct UsrData *UsrDat,
|
|||
/***** Remove user from table of followers *****/
|
||||
Fol_RemoveUsrFromUsrFollow (UsrDat->UsrCod);
|
||||
|
||||
/***** Remove user's usage reports *****/
|
||||
Rep_RemoveUsrUsageReports (UsrDat->UsrCod);
|
||||
|
||||
/***** Remove user's agenda *****/
|
||||
Agd_RemoveUsrEvents (UsrDat->UsrCod);
|
||||
|
||||
/***** Remove the user from the list of users without photo *****/
|
||||
Pho_RemoveUsrFromTableClicksWithoutPhoto (UsrDat->UsrCod);
|
||||
|
||||
|
|
|
@ -179,7 +179,6 @@
|
|||
// TODO: When teacher sees "No hay estudiantes", put a button to add students
|
||||
// TODO: When admin sees "No hay profesores", put a button to add teachers
|
||||
|
||||
// TODO: Cuando un alumno (no profesor en ninguna asignatura) vea su agenda, no tienen sentido los candados
|
||||
// TODO: Eliminar agenda de un usuario al eliminarlo completamente
|
||||
// TODO: Sólo horas y minutos en la agenda
|
||||
|
||||
|
@ -187,13 +186,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.84 (2016-12-03)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.84.1 (2016-12-03)"
|
||||
#define CSS_FILE "swad16.82.2.css"
|
||||
#define JS_FILE "swad16.46.1.js"
|
||||
|
||||
// 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
|
||||
/*
|
||||
Version 16.84.1: Dec 03, 2016 Remove user's agenda when removing user's account. (? lines)
|
||||
Version 16.84: Dec 03, 2016 Agenda events can be hidden. (209580 lines)
|
||||
3 changes necessary in database:
|
||||
ALTER TABLE agendas ADD COLUMN Hidden ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER Public;
|
||||
|
|
Loading…
Reference in New Issue