From 3cfce219749e70dc22ef241de4bc66adade492b9 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 18 Dec 2010 18:01:09 +0100 Subject: [PATCH] [controller] Fix folders not being removed --- SparkleShare/SparkleController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index eb6d00f4..571bfe4b 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -106,8 +106,7 @@ namespace SparkleShare { // Remove the repository when a delete event occurs watcher.Deleted += delegate (object o, FileSystemEventArgs args) { - if (Directory.Exists (args.FullPath)) - RemoveRepository (args.FullPath); + RemoveRepository (args.FullPath); };