From 736727d4c271ac135b4f0be7c922266ae89ef26b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 7 Dec 2008 07:07:09 +0000 Subject: Remove dead code. --- packages/autoconfigbackup/autoconfigbackup.php | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'packages') 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 @@ -3,10 +3,6 @@ /* autoconfigbackup.php 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 @@ -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']); -- cgit v1.2.3