From 7c73dba4e20a7f3ce2f4214fc946a9aed8cd3cb5 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Sat, 5 Mar 2011 11:16:59 +0000 Subject: [PATCH] =?UTF-8?q?Suppression=20des=20utilisateurs=20SQL=20lors?= =?UTF-8?q?=20de=20la=20suppression=20d'un=20compte.=20ToDo=20:=20Supprime?= =?UTF-8?q?r=20les=20comptes=20SQL=20qui=20aurait=20du=20=C3=AAtre=20suppr?= =?UTF-8?q?im=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bureau/class/m_mysql.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bureau/class/m_mysql.php b/bureau/class/m_mysql.php index 153c8189..a2f1af95 100644 --- a/bureau/class/m_mysql.php +++ b/bureau/class/m_mysql.php @@ -671,7 +671,13 @@ class m_mysql { $c=$this->get_dblist(); if (is_array($c)) { for($i=0;$idel_db($c[$i]["name"]); + $this->del_db($c[$i]["name"]); + } + } + $d=$this->get_userslist(); + if (is_array($d)) { + for($i=0;$idel_user($d[$i]["name"]); } } return true;