Removes ObjectExtensions from the config - this was left over from the importing of the new config.

This commit is contained in:
Shannon
2013-10-17 11:25:21 +11:00
parent 6cca01718d
commit 3be2af15ee
3 changed files with 2 additions and 212 deletions

View File

@@ -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;