Bugfixing member account deleting did not delete member's apache domains configurations.

This commit is contained in:
Steven Mondji-Lerider 2012-11-08 15:44:03 +00:00
parent c6368143cf
commit 02fb605cf4
1 changed files with 2 additions and 0 deletions

View File

@ -238,9 +238,11 @@ class m_dom {
$err->log("dom","del_domain",$dom);
$dom=strtolower($dom);
$this->lock();
if (!$r=$this->get_domain_all($dom)) {
return false;
}
$this->unlock();
// Call Hooks to delete the domain and the MX management:
// TODO : the 2 calls below are using an OLD hook call, FIXME: remove them when unused