Indefero

Indefero Commit Details


Date:2010-02-04 04:01:32 (15 years 2 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:577aac2069f80bea185cc6348109b1f9e5a8096b
Parents: 73641a03d5b4defc9af6a838ff614a7a6ca716cf
Message:Fixed issue 348, no notifications on own actions.

Changes:

File differences

src/IDF/Issue.php
272272
273273
274274
275
276
277
278
275279
276280
277281
......
299303
300304
301305
306
307
308
309
302310
303311
304312
            }
        } else {
            $comments = $this->get_comments_list(array('order' => 'id DESC'));
            $email_sender = '';
            if (isset($comments[0])) {
                $email_sender = $comments[0]->get_submitter()->email;
            }
            foreach ($this->get_interested_list() as $interested) {
                $email_lang = array($interested->email,
                                    $interested->language);
                                  'url_base' => Pluf::f('url_base'),
                                  ));
            foreach ($to_email as $email_lang) {
                if ($email_lang[0] == $email_sender) {
                    continue; // Do not notify the one having created
                              // the comment
                }
                Pluf_Translation::loadSetLocale($email_lang[1]);
                $email = new Pluf_Mail(Pluf::f('from_email'), $email_lang[0],
                                       sprintf(__('Updated Issue %s - %s (%s)'),

Archive Download the corresponding diff file

Page rendered in 0.23649s using 14 queries.