[controller] Fix folders not being removed

This commit is contained in:
Hylke Bons 2010-12-18 18:01:09 +01:00
parent 37238969fb
commit 3cfce21974

View file

@ -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);
};