| Project: | ProjectPier |
| Version: | 0.8.6-stable |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | phpfreak |
| Status: | closed - fixed |
Description
Comments on private tasks should not generate notifications for clients.
| Project: | ProjectPier |
| Version: | 0.8.6-stable |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | phpfreak |
| Status: | closed - fixed |
Comments on private tasks should not generate notifications for clients.
I guess this could do the trick:
File /application/models/notifier/Notifier.class.php
if ($comment->isPrivate()) {becomes
if ($comment->isPrivate() || $comment->getObject()->isPrivate()) {There are two occurrences of that line. Which one do you mean? (lines 261 or 396)
We reviewed the code and decided that patching both of the locations was the best. One is only rarely used, but there didn't seem to be a reason to leave it unchanged. Patchfile attached.
Added to 0.8.7