This commit has been accessed 721 times via Git panel.
commit 6aac5d6c3ea42d6550192b178d810d5284171841
tree ebec1be6cd73263cf4f4f8e2a9347b18c2c6a187
parent 90c1442ddf1b77bf6548d8173337eec724528521
author Engels Antonio <engels@majcms.org> 1353882749 +0800
committer Engels Antonio <engels@majcms.org> 1353882749 +0800
Add sieve filter clean up for deleted domains
diff --git a/index.php b/index.php
index 3d3e603..38b47e5 100644
--- a/index.php
+++ b/index.php
@@ -919,6 +919,11 @@ if (isset($_SESSION['logged_uid'])) {
if (file_exists("$mail_root/$dom_del")) {
rmdirr("$mail_root/$dom_del");
}
+
+ if (file_exists("$mail_home/$dom_del")) {
+ rmdirr("$mail_home/$dom_del");
+ }
+
ack("$dom_del deleted");
}
}
tree ebec1be6cd73263cf4f4f8e2a9347b18c2c6a187
parent 90c1442ddf1b77bf6548d8173337eec724528521
author Engels Antonio <engels@majcms.org> 1353882749 +0800
committer Engels Antonio <engels@majcms.org> 1353882749 +0800
Add sieve filter clean up for deleted domains
diff --git a/index.php b/index.php
index 3d3e603..38b47e5 100644
--- a/index.php
+++ b/index.php
@@ -919,6 +919,11 @@ if (isset($_SESSION['logged_uid'])) {
if (file_exists("$mail_root/$dom_del")) {
rmdirr("$mail_root/$dom_del");
}
+
+ if (file_exists("$mail_home/$dom_del")) {
+ rmdirr("$mail_home/$dom_del");
+ }
+
ack("$dom_del deleted");
}
}