Fix delete member problem
This commit is contained in:
parent
3986848445
commit
4e182e2e30
|
@ -170,6 +170,7 @@ bureau/admin/images/folderhta.png -text
|
|||
bureau/admin/images/ftp.png -text
|
||||
bureau/admin/images/help.png -text
|
||||
bureau/admin/images/home.png -text
|
||||
bureau/admin/images/ip.png -text
|
||||
bureau/admin/images/lang.png -text
|
||||
bureau/admin/images/mail.png -text
|
||||
bureau/admin/images/minus.png -text
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
|
@ -138,11 +138,11 @@ class m_authip {
|
|||
/*
|
||||
* Fonction appelée par Alternc lors de la suppression d'un utilisateur
|
||||
*
|
||||
* @param integer $l_uid uid de l'utilisater à supprimer
|
||||
* @return boolean Retourne TRUE
|
||||
*/
|
||||
function alternc_del_member($l_uid) {
|
||||
$db->query("SELECT id FROM authorised_ip WHERE uid ='$l_uid';");
|
||||
function alternc_del_member() {
|
||||
global $cuid;
|
||||
$db->query("SELECT id FROM authorised_ip WHERE uid ='$cuid';");
|
||||
while ($db->next_record()) {
|
||||
$this->ip_delete($db->f('id'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue