Sends email notifications that a task has been added, edited, or
deleted to users that want such notifications.
public static sendNotification ( string $action, Nag_Task $task, Nag_Task $old_task = null ) | ||
$action | string | The event action. One of "add", "edit", or "delete". |
$task | Nag_Task | The changed task. |
$old_task | Nag_Task | The original task if $action is "edit". |