Relocating some actions and forms to their parent module

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-10-02 16:37:10 -07:00
parent bef1e8cb1f
commit ed35652898
12 changed files with 334 additions and 38 deletions

View File

@@ -15,11 +15,6 @@ namespace Orchard.Core.Contents.Handlers {
public class RulePartHandler : ContentHandler {
public RulePartHandler(IRulesManager rulesManager) {
OnPublished<ContentPart>(
(context, part) =>
rulesManager.TriggerEvent("Content", "Published",
() => new Dictionary<string, object> { { "Content", context.ContentItem } }));
OnPublished<ContentPart>(
(context, part) =>
rulesManager.TriggerEvent("Content", "Published",