aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-09-20 00:02:22 +0000
committerColin Smith <colin@pfsense.org>2005-09-20 00:02:22 +0000
commit68c73590b96c787e0e602a3e1e40f18ce1b5baf6 (patch)
treee4c1fa8241f0b5a3060eb9a44880f64825ffc92e /packages/spamd.xml
parentaab607171e55f06b052f12a730278dbb581fd0cc (diff)
downloadpfsense-packages-68c73590b96c787e0e602a3e1e40f18ce1b5baf6.tar.gz
pfsense-packages-68c73590b96c787e0e602a3e1e40f18ce1b5baf6.tar.bz2
pfsense-packages-68c73590b96c787e0e602a3e1e40f18ce1b5baf6.zip
Move functions to documented tag.
Diffstat (limited to 'packages/spamd.xml')
-rw-r--r--packages/spamd.xml7
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index 053ba223..9dd6a9bd 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -105,7 +105,7 @@
<type>textarea</type>
</field>
</fields>
- <custom_php_command_before_form>
+ <custom_php_global_functions>
function sync_package_spamd() {
conf_mount_rw();
config_lock();
@@ -144,13 +144,10 @@
config_unlock();
restart_service("spamd");
}
- </custom_php_command_before_form>
+ </custom_php_global_functions>
<custom_php_resync_config_command>
sync_package_spamd();
</custom_php_resync_config_command>
- <custom_delete_php_command>
- sync_package_spamd();
- </custom_delete_php_command>
<custom_php_install_command>
system("touch /var/mail/whitelist.txt 2>/dev/null");
system("/usr/libexec/spamd-setup 2>/dev/null &amp;");