Files
OurUmbraco/Notification/EventHandlers/Forum.cs
T
Sebastiaan Janssen 810cbd267f Initial commit
2012-12-17 09:41:11 +01:00

23 lines
591 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using uForum.Businesslogic;
namespace NotificationsCore.EventHandlers
{
public class Forum : umbraco.BusinessLogic.ApplicationBase
{
public Forum()
{
Comment.AfterCreate += new EventHandler<CreateEventArgs>(Comment_AfterCreate);
}
void Comment_AfterCreate(object sender, uForum.Businesslogic.CreateEventArgs e)
{
Comment c = (Comment)sender;
//InstantNotification.Execute("NewComment", c.Id);
}
}
}