[longomatch] Fix ID migrations for old projects
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix ID migrations for old projects
- Date: Tue, 5 May 2015 09:10:37 +0000 (UTC)
commit 8e0877e345a4ea531750256c944487a88275585b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Apr 30 17:43:11 2015 +0200
Fix ID migrations for old projects
Don't initialize ProjectID in the constructor
so that we can correctly fill it in the
deserialization
LongoMatch.Core/Store/ProjectDescription.cs | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/Store/ProjectDescription.cs b/LongoMatch.Core/Store/ProjectDescription.cs
index 75aa8c0..bae69cd 100644
--- a/LongoMatch.Core/Store/ProjectDescription.cs
+++ b/LongoMatch.Core/Store/ProjectDescription.cs
@@ -35,7 +35,6 @@ namespace LongoMatch.Core.Store
public ProjectDescription ()
{
ID = Guid.NewGuid ();
- ProjectID = ID;
MatchDate = LastModified = DateTime.Now;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]