mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Removing now unused method from ContentPartDriver
This commit is contained in:
parent
110e5c1154
commit
dd9a0ec0f0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user