Fix the build

This commit is contained in:
Stephan
2014-05-18 21:41:34 +02:00
parent 28da44f0de
commit 9ed3561b56
6 changed files with 9 additions and 9 deletions

View File

@@ -242,13 +242,13 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
{
return xmlNode == null
? null
: (new XmlPublishedContent(xmlNode, isPreviewing)).CreateModel2();
: (new XmlPublishedContent(xmlNode, isPreviewing)).CreateModel();
}
private static IEnumerable<IPublishedContent> ConvertToDocuments(XmlNodeList xmlNodes, bool isPreviewing)
{
return xmlNodes.Cast<XmlNode>()
.Select(xmlNode => (new XmlPublishedContent(xmlNode, isPreviewing)).CreateModel2());
.Select(xmlNode => (new XmlPublishedContent(xmlNode, isPreviewing)).CreateModel());
}
#endregion