mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +08:00
Add a "OnUnpublish" event to content handlers
Work Item: 16856 --HG-- branch : dev
This commit is contained in:
@@ -23,6 +23,7 @@ namespace Orchard.Indexing.Handlers {
|
||||
_indexNotifierHandlers = indexNotifierHandlers;
|
||||
|
||||
OnPublished<ContentPart>(CreateIndexingTask);
|
||||
OnUnpublished<ContentPart>(CreateIndexingTask);
|
||||
OnRemoved<ContentPart>(RemoveIndexingTask);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user