mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Removing now unused method from ContentPartDriver
This commit is contained in:
@@ -76,14 +76,6 @@ namespace Orchard.ContentManagement.Drivers {
|
||||
return editor;
|
||||
}
|
||||
|
||||
private static IEnumerable<ContentShapeResult> GetShapeResults(DriverResult driverResult) {
|
||||
if (driverResult is CombinedResult) {
|
||||
return ((CombinedResult)driverResult).GetResults().Select(result => result as ContentShapeResult);
|
||||
}
|
||||
|
||||
return new[] { driverResult as ContentShapeResult };
|
||||
}
|
||||
|
||||
void IContentPartDriver.Importing(ImportContentContext context) {
|
||||
var part = context.ContentItem.As<TContent>();
|
||||
if (part != null)
|
||||
|
Reference in New Issue
Block a user