Indefero

Indefero Commit Details


Date:2010-03-16 03:41:21 (14 years 9 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:0056e3f0b2d5fe3de9124cf99f8c5db83e094dec
Parents: 4e7d3618a7696759d637a08dd2772c466e85d353
Message:Added ticket 414, references email header for the issue notifications.

Changes:

File differences

src/IDF/Issue.php
246246
247247
248248
249
249
250250
251251
252252
......
271271
272272
273273
274
274275
275276
276277
......
316317
317318
318319
320
319321
320322
321323
$langs[0]);
}
$current_locale = Pluf_Translation::getLocale();
$id = '<'.md5($this->id.md5(Pluf::f('secret_key'))).'@'.Pluf::f('mail_host', 'localhost').'>';
if ($create) {
if (null != $this->get_owner() and $this->owner != $this->submitter) {
$email_lang = array($this->get_owner()->email,
$this->id, $this->summary, $prj->shortname));
$tmpl = new Pluf_Template('idf/issues/issue-created-email.txt');
$email->addTextMessage($tmpl->render($context));
$email->addHeaders(array('Message-ID'=>$id));
$email->sendMail();
}
} else {
$this->id, $this->summary, $prj->shortname));
$tmpl = new Pluf_Template('idf/issues/issue-updated-email.txt');
$email->addTextMessage($tmpl->render($context));
$email->addHeaders(array('References'=>$id));
$email->sendMail();
}
}

Archive Download the corresponding diff file

Page rendered in 0.06783s using 14 queries.