diff --git a/filesystem/PostBackup.php b/filesystem/PostBackup.php deleted file mode 100644 index c18143f33..000000000 --- a/filesystem/PostBackup.php +++ /dev/null @@ -1,41 +0,0 @@ -stat('backup_post_data')) - return; - - // Append to the file - if(!file_exists(BACKUP_DIR)) - mkdir(BACKUP_DIR, Filesystem::$folder_create_mask, true); - - $backupFile = fopen(BACKUP_DIR . '/' . $form->class, 'a'); - - $date = date('Y-m-d G:i:s'); - - $postData = var_export($data, true); - - $backup = <<class} - -$postData -***END ENTRY*** -BAK; - - fwrite($backupFile, $backup); - fclose($backupFile); - } - -} -?> diff --git a/forms/Form.php b/forms/Form.php index 77440dc2d..8a379b619 100644 --- a/forms/Form.php +++ b/forms/Form.php @@ -23,8 +23,6 @@ */ class Form extends RequestHandlingData { - public static $backup_post_data = false; - /** * Accessed by Form.ss; modified by formHtmlContent. * A performance enhancement over the generate-the-form-tag-and-then-remove-it code that was there previously