Fix tabs/spacing
This commit is contained in:
parent
a675041874
commit
ef21e3e144
|
@ -114,7 +114,7 @@ class m_apache {
|
|||
$deleteme= $subdom["sub"].(($subdom["sub"])?".":"").$subdom["domaine"].".conf";
|
||||
@unlink($confdir."/".$deleteme);
|
||||
$this->shouldreload=true;
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1986,8 +1986,8 @@ class m_dom {
|
|||
// is it a delete (DISABLED or DELETE)
|
||||
if ($subdom["web_action"]=="DELETE" || strtoupper(substr($subdom["enable"],0,7))=="DISABLE") {
|
||||
$ret = $hooks->invoke("hook_updatedomains_web_del",array($subdom["id"]));
|
||||
if (strtoupper(substr($subdom["enable"],0,7))=="DISABLE") {
|
||||
$db->query("UPDATE sub_domaines SET enable=\"DISABLED\" WHERE id=?;",array($id));
|
||||
if (strtoupper(substr($subdom["enable"],0,7))=="DISABLE") {
|
||||
$db->query("UPDATE sub_domaines SET enable=\"DISABLED\" WHERE id=?;",array($id));
|
||||
}
|
||||
} else {
|
||||
$hooks->invoke("hook_updatedomains_web_before",array($subdom["id"])); // give a chance to get SSL cert before ;)
|
||||
|
|
Loading…
Reference in New Issue