diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-07 07:07:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-07 07:07:09 +0000 |
commit | 736727d4c271ac135b4f0be7c922266ae89ef26b (patch) | |
tree | e688d7833237b6963d4419997fdffcc307bb81ea /packages | |
parent | 9e49c18f9069245387e9bdbc1821f08e13b315af (diff) | |
download | pfsense-packages-736727d4c271ac135b4f0be7c922266ae89ef26b.tar.gz pfsense-packages-736727d4c271ac135b4f0be7c922266ae89ef26b.tar.bz2 pfsense-packages-736727d4c271ac135b4f0be7c922266ae89ef26b.zip |
Remove dead code.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index 5cec3cc6..b9975d9e 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -5,10 +5,6 @@ Copyright (C) 2008 Scott Ullrich All rights reserved. - Originally based on diag_confbak.php written and - Copyright (C) 2005 Colin Smith - All rights reserved. - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -63,18 +59,6 @@ if(!$username) { exit; } -if($_POST['backup']) { - if($_REQUEST['reason']) - write_config($_REQUEST['reason']); - else - write_config("Backup invoked via Auto Config Backup."); - $savemsg = "Backup completed successfully."; - exec("echo > /cf/conf/lastpfSbackup.txt"); - filter_configure_sync(); - print_info_box($savemsg); - $donotshowheader=true; -} - if($_REQUEST['savemsg']) $savemsg = htmlentities($_REQUEST['savemsg']); |