The CopyFile extension method was not disposing the file stream, so any attempt to delete the source file afterwards would fail.

Removing unused using statements.
This commit is contained in:
Morten Christensen
2014-06-25 16:00:21 +02:00
parent 27764a2c82
commit 12cdd3326a
4 changed files with 4 additions and 7 deletions

View File

@@ -3,10 +3,7 @@ using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Web;
using Umbraco.Core.CodeAnnotations;
using Umbraco.Core.Logging;
using Umbraco.Core.Publishing;
namespace Umbraco.Core.IO
{