Bugfixing member account deleting did not delete member's apache domains configurations.
This commit is contained in:
parent
c6368143cf
commit
02fb605cf4
|
@ -238,9 +238,11 @@ class m_dom {
|
||||||
$err->log("dom","del_domain",$dom);
|
$err->log("dom","del_domain",$dom);
|
||||||
$dom=strtolower($dom);
|
$dom=strtolower($dom);
|
||||||
|
|
||||||
|
$this->lock();
|
||||||
if (!$r=$this->get_domain_all($dom)) {
|
if (!$r=$this->get_domain_all($dom)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$this->unlock();
|
||||||
|
|
||||||
// Call Hooks to delete the domain and the MX management:
|
// 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
|
// TODO : the 2 calls below are using an OLD hook call, FIXME: remove them when unused
|
||||||
|
|
Loading…
Reference in New Issue