Removed upcasting for uComponents multitreenode picker in DynamicNode ConvertPropertyValueByDataType in favour of the new plugin interface [I]RazorDataTypeModel

This commit is contained in:
agrath@gmail.com
2011-06-19 14:40:10 -02:00
parent c5906c0c79
commit d0d48f18ff

View File

@@ -515,18 +515,6 @@ namespace umbraco.MacroEngines
return true;
}
//MNTP List<int>
if (dataType == DATATYPE_UCOMPONENTS_MNTP_GUID)
{
string sResult = string.Format("{0}", result);
//csv mode
if (!sResult.Contains("<"))
{
result = sResult.Split(',').Select(id => int.Parse(id)).ToList();
return true;
}
}
//decimal
decimal dResult = 0;
if (decimal.TryParse(string.Format("{0}", result).Replace(",", "."), out dResult))