Fixed issue 13, email notifications.

Email notifications are now sent at creation/modification of an issue.
This commit is contained in:
Loic d'Anterroches
2008-08-07 23:12:24 +02:00
parent 4b2139fe99
commit 6360ea93be
8 changed files with 100 additions and 8 deletions

View File

@@ -136,7 +136,7 @@ class IDF_Issue extends Pluf_Model
}
function preSave()
function preSave($create=false)
{
if ($this->id == '') {
$this->creation_dtime = gmdate('Y-m-d H:i:s');
@@ -144,7 +144,7 @@ class IDF_Issue extends Pluf_Model
$this->modif_dtime = gmdate('Y-m-d H:i:s');
}
function postSave()
function postSave($create=false)
{
// This will be used to fire the indexing or send a
// notification email to the interested people, etc.