Renamed config interfaces properly with Section suffix, re-implemented the For<T> UmbracoConfiguration method to retreive specific settings... might use this entirely instead of the nested access as it might make it easier to mock.
This commit is contained in:
@@ -419,7 +419,7 @@ namespace Umbraco.Core.Models
|
||||
var supportsResizing = UmbracoConfiguration.Current.UmbracoSettings.Content.ImageFileTypes.InvariantContains(extension);
|
||||
|
||||
//the config section used to auto-fill properties
|
||||
IContentImagingAutoFillUploadField uploadFieldConfigNode = null;
|
||||
IImagingAutoFillUploadField uploadFieldConfigNode = null;
|
||||
|
||||
//Check for auto fill of additional properties
|
||||
if (UmbracoConfiguration.Current.UmbracoSettings.Content.ImageAutoFillProperties != null)
|
||||
|
||||
Reference in New Issue
Block a user