From 697e98426fd52b20c1547dfedb39e4c50934c5a0 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 22 May 2013 12:52:22 -0400 Subject: [PATCH] restore edit metatdata page --- .../Providers/ProviderManager.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs b/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs index 1069f6ef1..3510ff984 100644 --- a/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs +++ b/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs @@ -423,19 +423,6 @@ namespace MediaBrowser.Server.Implementations.Providers dataToSave.Position = 0; } - if (!(dataToSave is MemoryStream || dataToSave is FileStream)) - { - var ms = new MemoryStream(); - - using (dataToSave) - { - await dataToSave.CopyToAsync(ms).ConfigureAwait(false); - } - - ms.Position = 0; - dataToSave = ms; - } - try { using (dataToSave)