From: Florent Bruneau Date: Thu, 12 Feb 2009 21:28:22 +0000 (+0100) Subject: Free deletions. X-Git-Tag: xorg/1.0.0~332^2~375 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=eab7c014cc0ba516ce470c59697b82eea4b9dea8;p=platal.git Free deletions. Signed-off-by: Florent Bruneau --- diff --git a/include/user.func.inc.php b/include/user.func.inc.php index e53b16e..7e98747 100644 --- a/include/user.func.inc.php +++ b/include/user.func.inc.php @@ -27,7 +27,7 @@ function user_clear_all_subs($user_id, $really_del=true) { // keep datas in : aliases, adresses, tels, profile_education, binets_ins, contacts, groupesx_ins, homonymes, identification_ax, photo - // delete in : auth_user_md5, auth_user_quick, competences_ins, emails, entreprises, langues_ins, mentor, + // delete in : competences_ins, emails, entreprises, langues_ins, mentor, // mentor_pays, mentor_secteurs, newsletter_ins, perte_pass, requests, user_changes, virtual_redirect, watch_sub // + delete maillists @@ -44,7 +44,7 @@ function user_clear_all_subs($user_id, $really_del=true) if ($really_del) { array_push($tables_to_clear['uid'], 'emails', 'groupex.membres', 'contacts', 'adresses', 'profile_phones', 'photo', 'perte_pass', 'langues_ins', 'forum_subs', 'forum_profiles'); - array_push($tables_to_clear['user_id'], 'newsletter_ins', 'auth_user_quick', 'binets_ins'); + array_push($tables_to_clear['user_id'], 'newsletter_ins', 'binets_ins'); $tables_to_clear['id'] = array('aliases'); $tables_to_clear['contact'] = array('contacts'); XDB::execute("UPDATE accounts