Stuff Jorge commented out to get the build working.

This commit is contained in:
jorge.agraz@onestop.com
2016-07-20 10:28:01 -07:00
parent f519bc96ed
commit 6862637b69
2 changed files with 3 additions and 4 deletions

View File

@@ -65,7 +65,6 @@ namespace Orchard.ContentManagement {
_contentDefinitionManager = contentDefinitionManager;
_cacheManager = cacheManager;
_contentManagerSession = contentManagerSession;
_identityResolverSelectors = identityResolverSelectors;
_sqlStatementProviders = sqlStatementProviders;
_shellSettings = shellSettings;
_signals = signals;
@@ -566,8 +565,8 @@ namespace Orchard.ContentManagement {
foreach (var contentHandler in Handlers) {
contentHandler.Cloned(context);
}
var importContext = new ImportContentContext(element, null, importContentSession);
Import(importContext);
// var importContext = new ImportContentContext(contentitem, element, null, importContentSession);
// Import(importContext);
return cloneContentItem;

View File

@@ -28,7 +28,7 @@ namespace Orchard.ContentManagement {
var identityComparer = new ContentIdentity.ContentIdentityEqualityComparer();
_contentManager = contentManager;
_identities = new Dictionary<ContentIdentity, int>(_identityComparer);
// _identities = new Dictionary<ContentIdentity, int>(_identityComparer);
_contentTypes = new Dictionary<ContentIdentity, string>(_identityComparer);
_draftVersionRecordIds = new Dictionary<int, int>();