Removed copy/paste artifact.

This commit is contained in:
Sipke Schoorstra
2015-08-10 13:48:54 +01:00
parent 15e6c95740
commit f2e0fb22b3

View File

@@ -34,7 +34,6 @@ namespace Orchard.Tasks.Locking {
}).Wait(); }).Wait();
} }
if (acquired) { if (acquired) {
Logger.Debug(String.Format("Successfully acquired a lock named {0} on machine {1}.", name, machineName)); Logger.Debug(String.Format("Successfully acquired a lock named {0} on machine {1}.", name, machineName));
return true; return true;
@@ -46,7 +45,6 @@ namespace Orchard.Tasks.Locking {
} }
finally { finally {
Monitor.Exit(_semaphore); Monitor.Exit(_semaphore);
Logger.Debug("Ending sweep.");
} }
} }