|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57131 do not mail in active developers
Submitted: 2006-07-10 14:45 UTC Modified: 2006-10-18 22:21 UTC
From: smith at pooteeweet dot org Assigned: davidc (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
 [2006-07-10 14:45 UTC] smith at pooteeweet dot org
it would be nice if developers that are marked as "in active" for a given package no longer receive email notifications for trackbacks and bugs (and anything else we mail maintainers for) for this package.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-18 16:58 UTC]

I have put the fix in cvs diff -u there. This is against the latest cvs up -dP I had.

So explanation:
----> This function has the function getMaintainers() and I have added a new param set by default to false which is called $activeOnly. What you pass to this, will be automatically changing the call to maintainer::get and pass a third parameter which will be true or false.

----> this function will execute the query on the database, thus I have made it that if you pass the new third parameter true to it, then it will check only the active set to 1.

----> I added true to the $trackback->getMaintainers() function in order to only get maintainers that are set to true. This $trackback variable is Damblan_Trackback instance, thus changed Damblan_Trackback::getMaintainers(true) so that it calls pear-database::maintainer::get('id', true, true) making pear-database::maintainer::get() query only the active lead.

If this is not clear just look at the patches, should be rather simple and straightforward.
 [2006-10-18 22:21 UTC]
This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on by the end of next Sunday (CET).

If this was a problem with the website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 11:01:31 2024 UTC