aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php16
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']);