Fix delete all extra table column name

This commit is contained in:
Miles Lott 2001-03-30 03:57:38 +00:00
parent 38dead09f4
commit 2be72e113f
2 changed files with 2 additions and 2 deletions

View File

@ -741,7 +741,7 @@
$err = ldap_delete($this->ldap,$entry['dn']); $err = ldap_delete($this->ldap,$entry['dn']);
} }
$this->db->query("DELETE FROM $this->ext_table WHERE owner=$owner",__LINE__,__FILE__); $this->db->query("DELETE FROM $this->ext_table WHERE contact_owner=$owner",__LINE__,__FILE__);
} }
return; return;
} }

View File

@ -590,7 +590,7 @@
if ($owner) if ($owner)
{ {
$this->db->query("DELETE FROM $this->std_table WHERE owner=$owner",__LINE__,__FILE__); $this->db->query("DELETE FROM $this->std_table WHERE owner=$owner",__LINE__,__FILE__);
$this->db->query("DELETE FROM $this->ext_table WHERE owner=$owner",__LINE__,__FILE__); $this->db->query("DELETE FROM $this->ext_table WHERE contact_owner=$owner",__LINE__,__FILE__);
} }
return; return;
} }