From ae714216bd838702edd5430a9ea1071da6482904 Mon Sep 17 00:00:00 2001
From: Rayburn Davis <ray96_28139@yahoo.com>
Date: Sun, 26 Oct 2014 15:56:45 -0400
Subject: [PATCH] - Fixed an issue where results were duplicating themselves

---
 DupliDelete/DupliDelete/Forms/RunRollbackScript.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/DupliDelete/DupliDelete/Forms/RunUndoScript.cs b/DupliDelete/DupliDelete/Forms/RunRollbackScript.cs
similarity index 90%
rename from DupliDelete/DupliDelete/Forms/RunUndoScript.cs
rename to DupliDelete/DupliDelete/Forms/RunRollbackScript.cs
index e62c705..62a1a96 100644
--- a/DupliDelete/DupliDelete/Forms/RunUndoScript.cs
+++ b/DupliDelete/DupliDelete/Forms/RunRollbackScript.cs
@@ -10,10 +10,10 @@
 
 namespace DupliDelete
 {
-    public partial class RunUndoScript : Form
+    public partial class RunRollbackScript : Form
     {
-        public string undo_script;
-        public RunUndoScript()
+        public string rollback_script;
+        public RunRollbackScript()
         {
             InitializeComponent();
         }
@@ -68,9 +68,9 @@
             button2.Enabled = true;
         }
 
-        private void RunUndoScript_Load(object sender, EventArgs e)
+        private void RunRollbackScript_Load(object sender, EventArgs e)
         {
-            undo_script = (string)this.Tag;
+            rollback_script = (string)this.Tag;
 
             
         }
@@ -136,9 +136,9 @@
 
             if (error_count == 0)
             {
-                dr = MessageBox.Show("The undo script processed successfully. Delete the undo script?", "Duplicate Commander", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
-                if (dr == System.Windows.Forms.DialogResult.Yes && File.Exists(undo_script))
-                    File.Delete(undo_script);
+                dr = MessageBox.Show("The rollback script processed successfully. Delete the rollback script?", "Duplicate Commander", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
+                if (dr == System.Windows.Forms.DialogResult.Yes && File.Exists(rollback_script))
+                    File.Delete(rollback_script);
             }
             button1.Enabled = true;
             button2.Enabled = true;

--
Gitblit v1.6.2