Indefero

Indefero Commit Details


Date:2008-08-13 14:28:58 (16 years 4 months ago)
Author:Loic d'Anterroches
Branch:dev, 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, svn
Commit:5b411228c27e36ae41456578b9badb135f32dcd7
Parents: 0e3a74558c8618c97e33c192def223e160f2373e
Message:Added a smarter way to mark a user as interested by an issue.

A user posting a comment is marked as interested only if not the owner
and not the submitter. If in that case, the user will be anyway notified
of the changes to those issues.
Changes:

File differences

src/IDF/Form/IssueUpdate.php
253253
254254
255255
256
256
257
258
259
257260
258261
259262
$comment->changes = $changes;
$comment->create();
$this->issue->update();
$this->issue->setAssoc($this->user); // interested user.
if ($this->issue->owner != $this->user->id and
$this->issue->submitter != $this->user->id) {
$this->issue->setAssoc($this->user); // interested user.
}
return $this->issue;
}
throw new Exception(__('Cannot save the model from an invalid form.'));

Archive Download the corresponding diff file

Page rendered in 0.08369s using 13 queries.