diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-01 00:48:30 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-01 00:48:30 +0000 |
commit | 595b7c4de85a0a7605c151754569d1267925acb4 (patch) | |
tree | 31b51529a788b2468e2d43908cae4b48b0dc66ee | |
parent | 50bf7829a0a4cb1e097e2543d11cec759fe18c8c (diff) | |
download | pfsense-packages-595b7c4de85a0a7605c151754569d1267925acb4.tar.gz pfsense-packages-595b7c4de85a0a7605c151754569d1267925acb4.tar.bz2 pfsense-packages-595b7c4de85a0a7605c151754569d1267925acb4.zip |
Sync package on item delete
-rw-r--r-- | packages/spamd.xml | 3 | ||||
-rw-r--r-- | packages/spamd_whitelist.xml | 7 |
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> |