removes commented out code

This commit is contained in:
Shannon
2019-06-13 23:47:48 +10:00
parent 81077c2681
commit 9927ff3c86
4 changed files with 2 additions and 120 deletions

View File

@@ -164,17 +164,8 @@ namespace Umbraco.Web.Trees
public IEnumerable<SearchResultEntity> Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null)
{
return _treeSearcher.ExamineSearch(query, UmbracoEntityTypes.Media, pageSize, pageIndex, out totalFound, false, searchFrom);
return _treeSearcher.ExamineSearch(query, UmbracoEntityTypes.Media, pageSize, pageIndex, out totalFound, searchFrom);
}
//internal override IEnumerable<IEntitySlim> GetChildrenFromEntityService(int entityId)
// => Services.EntityService.GetChildren(entityId, UmbracoObjectType).ToList();
//internal override IEnumerable<IEntitySlim> GetChildrenFromEntityService(int entityId)
// // Not pretty having to cast the service, but it is the only way to get to use an internal method that we
// // do not want to make public on the interface. Unfortunately also prevents this from being unit tested.
// // See this issue for details on why we need this:
// // https://github.com/umbraco/Umbraco-CMS/issues/3457
// => ((EntityService)Services.EntityService).GetMediaChildrenWithoutPropertyData(entityId).ToList();
}
}