Fixes: #U4-919, we will just use real classes for extension methods and all custom file systems like the MediaFileSystem must inherit from

FileSystemWrapper
This commit is contained in:
Shannon Deminick
2012-11-07 09:30:40 +05:00
parent 306f0f9679
commit 67d9e578f5
20 changed files with 218 additions and 259 deletions

View File

@@ -136,7 +136,7 @@ namespace umbraco.editorControls.tinymce
private static string doResize(Hashtable attributes, out int finalWidth, out int finalHeight)
{
var fs = FileSystemProviderManager.Current.GetFileSystemProvider<IMediaFileSystem>();
var fs = FileSystemProviderManager.Current.GetFileSystemProvider<MediaFileSystem>();
string resizeDim = helper.FindAttribute(attributes, "width") + "," +
helper.FindAttribute(attributes, "height");