[longomatch/redesign3: 155/156] Fix retrieval of last backup's date



commit 100dd5ffa59ee0f98be88c200f5455479fa89ab1
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Aug 18 00:13:32 2011 +0200

    Fix retrieval of last backup's date

 LongoMatch/Services/DataBase.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Services/DataBase.cs b/LongoMatch/Services/DataBase.cs
index 71ee4fa..a715a8e 100644
--- a/LongoMatch/Services/DataBase.cs
+++ b/LongoMatch/Services/DataBase.cs
@@ -310,7 +310,7 @@ namespace LongoMatch.DB
 		}
 		
 		private void GetBackupDate () {
-			BackupDate lastBackup = GetObject<BackupDate> ();
+			lastBackup = GetObject<BackupDate> ();
 			if (lastBackup == null)
 				lastBackup = new BackupDate {Date = DateTime.UtcNow};
 			Log.Information("DB last backup: "+ lastBackup.Date.ToShortDateString());



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]