Removes ObjectExtensions from the config - this was left over from the importing of the new config.
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Umbraco.Core.Configuration
|
||||
{
|
||||
get
|
||||
{
|
||||
var converted = UmbracoSettings.ObjectExtensions.TryConvertTo<T>(RawValue);
|
||||
var converted = ObjectExtensions.TryConvertTo<T>(RawValue);
|
||||
if (converted.Success == false)
|
||||
throw new InvalidCastException("Could not convert value " + RawValue + " to type " + typeof(T));
|
||||
return converted.Result;
|
||||
|
||||
Reference in New Issue
Block a user