From 2f679a52f43e69ce4a607ab1649d2e8acde2182a Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 16 Apr 2014 16:52:45 +1000 Subject: [PATCH] fix build --- .../umbraco/webservices/MediaUploader.ashx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/MediaUploader.ashx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/MediaUploader.ashx.cs index e240f7ae37..f6212fac9c 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/MediaUploader.ashx.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/MediaUploader.ashx.cs @@ -157,7 +157,7 @@ namespace umbraco.presentation.umbraco.webservices //Are we allowed to upload this? var ext = uploadFile.FileName.Substring(uploadFile.FileName.LastIndexOf('.') + 1).ToLower(); - if (UmbracoConfig.For.UmbracoSettings().Content.DisallowedUploadFiles.Contains(ext)) + if (UmbracoSettings.DisallowedUploadFiles.Contains(ext)) { LogHelper.Warn("Cannot upload file " + uploadFile + ", it is not an approved file type"); continue;