Add hook "hook_dom_del_subdomain" on sub domain deletion
This commit is contained in:
parent
d9fe47e892
commit
a9701d99f7
|
@ -1978,6 +1978,7 @@ class m_dom {
|
|||
|
||||
if ($subdom["web_action"]=="DELETE") {
|
||||
$db->query("DELETE FROM sub_domaines WHERE id=?;",array($id));
|
||||
$hooks->invoke('hook_dom_del_subdomain', array($id));
|
||||
} else {
|
||||
// we keep the highest result returned by hooks...
|
||||
rsort($ret,SORT_NUMERIC); $returncode=$ret[0];
|
||||
|
|
Loading…
Reference in New Issue