From 86c2a6e8a90b971f6f94773a7e5b13702c28a379 Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 10 Jul 2014 11:51:48 +1000 Subject: [PATCH] updates physical file system, now that files are being disposed of properly we don't need to delete first --- src/Umbraco.Core/IO/PhysicalFileSystem.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Umbraco.Core/IO/PhysicalFileSystem.cs b/src/Umbraco.Core/IO/PhysicalFileSystem.cs index 6571721362..147cc7385a 100644 --- a/src/Umbraco.Core/IO/PhysicalFileSystem.cs +++ b/src/Umbraco.Core/IO/PhysicalFileSystem.cs @@ -98,11 +98,6 @@ namespace Umbraco.Core.IO EnsureDirectory(Path.GetDirectoryName(path)); - if (exists) - { - DeleteFile(path); - } - if (stream.CanSeek) stream.Seek(0, 0);