mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Updated index for robustness
--HG-- branch : dev
This commit is contained in:
@@ -28,12 +28,12 @@ namespace Orchard.Indexing.Handlers {
|
||||
|
||||
void CreateIndexingTask(PublishContentContext context, ContentPart part) {
|
||||
_indexingTaskManager.CreateUpdateIndexTask(context.ContentItem);
|
||||
UpdateIndex();
|
||||
// UpdateIndex();
|
||||
}
|
||||
|
||||
void RemoveIndexingTask(RemoveContentContext context, ContentPart part) {
|
||||
_indexingTaskManager.CreateDeleteIndexTask(context.ContentItem);
|
||||
UpdateIndex();
|
||||
// UpdateIndex();
|
||||
}
|
||||
|
||||
private void UpdateIndex() {
|
||||
|
Reference in New Issue
Block a user