From 02fb605cf49772a295abbdd6ef2ed27cfd33b557 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Thu, 8 Nov 2012 15:44:03 +0000 Subject: [PATCH] Bugfixing member account deleting did not delete member's apache domains configurations. --- bureau/class/m_dom.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index 01233b9f..30498972 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -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