cvs: pearweb /include/bugs pear-bugs.php
| From: | Greg Beaver | Date: | Sun, 17 Dec 2006 21:56:04 +0000 |
| Subject: | cvs: pearweb /include/bugs pear-bugs.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5280@lists.php.net to get a copy of this message | ||
cellog Sun Dec 17 21:56:04 2006 UTC
Modified files:
/pearweb/include/bugs pear-bugs.php
Log:
fix developer bug stats - they were *WAY* off, this is an
accurate tally of what people have done
# take 2 - the last one still eliminated most bugs
http://cvs.php.net/viewvc.cgi/pearweb/include/bugs/pear-bugs.php?r1=1.4&r2=1.5&diff_format=u
Index: pearweb/include/bugs/pear-bugs.php
diff -u pearweb/include/bugs/pear-bugs.php:1.4 pearweb/include/bugs/pear-bugs.php:1.5
--- pearweb/include/bugs/pear-bugs.php:1.4 Sun Dec 17 21:51:31 2006
+++ pearweb/include/bugs/pear-bugs.php Sun Dec 17 21:56:04 2006
@@ -88,9 +88,8 @@
b.status IN ("Assigned", "Analyzed", "Feedback",
"Open", "Critical", "Verified") AND
(b.assign = ? OR b.assign IS NULL OR b.assign="")', array($handle,
$handle));
$bugrank = $this->_dbh->getAll('SELECT COUNT(*) as c, u.handle
- FROM bugdb b, users u, packages p
+ FROM bugdb b, users u
WHERE
- b.package_name = p.name AND
b.bug_type != "Feature/Change Request" AND
b.assign = u.handle AND
b.status = "Closed"
@@ -122,9 +121,8 @@
static $bugrank = false;
if (!$bugrank) {
$bugrank = $this->_dbh->getAll('SELECT COUNT(*) as c, u.handle
- FROM bugdb b, users u, packages p
+ FROM bugdb b, users u
WHERE
- b.package_name = p.name AND
b.bug_type != "Feature/Change Request" AND
b.assign = u.handle AND
b.status = "Closed"
@@ -146,9 +144,8 @@
function allDevelStats()
{
return $this->_dbh->getAll('SELECT COUNT(*) as c, u.handle
- FROM bugdb b, users u, packages p
+ FROM bugdb b, users u
WHERE
- b.package_name = p.name AND
b.bug_type != "Feature/Change Request" AND
b.assign = u.handle AND
b.status = "Closed"