[longomatch/redesign2: 13/140] Make use of the new API in Main.cs



commit d4cd2a099173276c7531299522a87315e2eff6f6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Nov 21 16:53:45 2010 +0100

    Make use of the new API in Main.cs

 LongoMatch/Main.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch/Main.cs b/LongoMatch/Main.cs
index dda518f..0792f6c 100644
--- a/LongoMatch/Main.cs
+++ b/LongoMatch/Main.cs
@@ -133,13 +133,12 @@ namespace LongoMatch
 			string fConfig;
 			fConfig = System.IO.Path.Combine(TemplatesDir(),"default.sct");
 			if (!System.IO.File.Exists(fConfig)) {
-				SectionsWriter.CreateNewTemplate("default.sct");
+				CategoriesWriter.CreateNewTemplate("default.sct");
 			}
 
 			fConfig = System.IO.Path.Combine(TemplatesDir(),"default.tem");
 			if (!System.IO.File.Exists(fConfig)) {
-				TeamTemplate tt = new TeamTemplate();
-				tt.CreateDefaultTemplate(20);
+				TeamTemplate tt = TeamTemplate.DefautlTemplate(20);
 				tt.Save(fConfig);
 			}
 		}



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