aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/spamd.xml3
-rw-r--r--packages/spamd_whitelist.xml7
2 files changed, 8 insertions, 2 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index 206cf9b1..d4e67b26 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -136,6 +136,9 @@
<type>textarea</type>
</field>
</fields>
+ <custom_delete_php_command>
+ sync_package_spamd();
+ </custom_delete_php_command>
<custom_php_resync_config_command>
sync_package_spamd();
</custom_php_resync_config_command>
diff --git a/packages/spamd_whitelist.xml b/packages/spamd_whitelist.xml
index 2f6b26ad..90b0a76e 100644
--- a/packages/spamd_whitelist.xml
+++ b/packages/spamd_whitelist.xml
@@ -75,10 +75,13 @@
config_unlock();
}
</custom_php_command_before_form>
+ <custom_delete_php_command>
+ sync_package_spamd_whitelist();
+ </custom_delete_php_command>
<custom_php_resync_config_command>
- sync_package_spamd_whitelist();
+ sync_package_spamd_whitelist();
</custom_php_resync_config_command>
<custom_delete_php_command>
- sync_package_spamd_whitelist();
+ sync_package_spamd_whitelist();
</custom_delete_php_command>
</packagegui>