View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015472 | mantisbt | bugtracker | public | 2013-02-07 05:20 | 2014-09-23 18:05 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 1.2.15 | Fixed in Version | 1.2.15 | ||
Summary | 0015472: email_bug_reminder() API's return array is always full list of recipients | ||||
Description | As per comment in function header, it should return a list of users to whom the reminder e-mail was actually sent (i.e. exclude failures, blank e-mails, etc). | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 1002f8aa 2013-02-07 06:20 Details Diff |
Fix return value of email_bug_reminder() The function now returns an array containing only the users to whom the reminder e-mail was actually sent (i.e. excludes failures, blank e-mails, etc). In addition, the return value is now an array of user id's instead of user names, which indeed makes more sense from an API perspective, as mentioned by Julian Fitzell in 5ea3d0bc837ef14fd66b63d63e5481ea3addcf29, since the function's only caller is bug_reminder.php which exclusively relies on user id's. Fixes 0015472 |
Affected Issues 0015472 |
|
mod - core/email_api.php | Diff File | ||
MantisBT: master 389b2a65 2013-02-07 06:20 Details Diff |
Fix return value of email_bug_reminder() The function now returns an array containing only the users to whom the reminder e-mail was actually sent (i.e. excludes failures, blank e-mails, etc). In addition, the return value is now an array of user id's instead of user names, which indeed makes more sense from an API perspective, as mentioned by Julian Fitzell in 5ea3d0bc837ef14fd66b63d63e5481ea3addcf29, since the function's only caller is bug_reminder.php which exclusively relies on user id's. Fixes 0015472 |
Affected Issues 0015472 |
|
mod - core/email_api.php | Diff File |