From ca5b870c2000e4508da67fe92e9b6a2de7ac8467 Mon Sep 17 00:00:00 2001 From: acanas Date: Thu, 30 Apr 2020 16:20:03 +0200 Subject: [PATCH] Version19.207.3 --- swad_account.c | 2 +- swad_changelog.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/swad_account.c b/swad_account.c index d1ee5e11e..5dd146e45 100644 --- a/swad_account.c +++ b/swad_account.c @@ -1050,7 +1050,7 @@ void Acc_CompletelyEliminateAccount (struct UsrData *UsrDat, /***** Remove user from the tables of courses and users *****/ DB_QueryDELETE ("can not remove a user from all courses", - "DELETE FROM usr_crs_last WHERE UsrCod=%ld", + "DELETE FROM crs_usr_last WHERE UsrCod=%ld", UsrDat->UsrCod); DB_QueryDELETE ("can not remove a user from all courses", "DELETE FROM crs_usr WHERE UsrCod=%ld", diff --git a/swad_changelog.h b/swad_changelog.h index b2b8e99f2..c73e3ce5b 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -544,10 +544,11 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.207.2 (2020-04-30)" +#define Log_PLATFORM_VERSION "SWAD 19.207.3 (2020-04-30)" #define CSS_FILE "swad19.193.1.css" #define JS_FILE "swad19.193.1.js" /* + Version 19.207.3: Apr 30, 2020 Fixed bug removing account. (300335 lines) Version 19.207.2: Apr 30, 2020 Fixed bug creating account, reported by Antonio Becerra. (300334 lines) Version 19.207.1: Apr 30, 2020 Optimization in table of last prefs on user-course. (300323 lines) 5 changes necessary in database: