[tasque/transition: 187/213] [libtasque] Fix exception on add task when All category is selected



commit 2e1063a9c1dbee60cef397992b0ba9bb9647f8f3
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sun Aug 19 10:36:27 2012 +0200

    [libtasque] Fix exception on add task when All category is selected

 src/libtasque/Backend.cs |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/libtasque/Backend.cs b/src/libtasque/Backend.cs
index f4acebd..5f75579 100644
--- a/src/libtasque/Backend.cs
+++ b/src/libtasque/Backend.cs
@@ -124,9 +124,6 @@ namespace Tasque
 		/// </summary>
 		public Task CreateTask (string taskName, Category category)
 		{
-			if (category == null)
-				throw new ArgumentNullException ("category");
-
 			return CreateTask (taskName, new Category [] { category });
 		}
 		



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