cvs: phpweb / bugs.php
| From: | Rasmus Lerdorf | Date: | Sun, 06 May 2001 17:01:03 +0000 |
| Subject: | cvs: phpweb / bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4920@lists.php.net to get a copy of this message | ||
rasmus Sun May 6 10:01:03 2001 EDT
Modified files:
/phpweb bugs.php
Log:
Add a restricted bug state called 'Critical' which can only be set by
developers. Intended to be for the QA folks to set a bug to state
'Critical' if it is deemed a release-critical bug.
Index: phpweb/bugs.php
diff -u phpweb/bugs.php:1.99 phpweb/bugs.php:1.100
--- phpweb/bugs.php:1.99 Sat May 5 18:41:17 2001
+++ phpweb/bugs.php Sun May 6 10:01:03 2001
@@ -89,6 +89,7 @@
$state_types = array (
"Open" => 2,
+ "Critical" => 1,
"Closed" => 2,
"Duplicate" => 2,
"Assigned" => 1,
@@ -463,6 +464,7 @@
}
switch($row["Status"]) {
case "Open":
+ case "Critical":
return "#ffbbaa";
break;
case "Closed":
@@ -527,10 +529,10 @@
$where_clause = "bug_type='$bug_type'";
}
- /* Treat assigned and analyzed bugs as open */
+ /* Treat assigned, analyzed and critical bugs as open */
if($status=="Open") {
- $where_clause .= " and (status='Open' or status='Assigned' or
status='Analyzed')";
+ $where_clause .= " and (status='Open' or status='Assigned' or
status='Analyzed' or status='Critical')";
} elseif($status=="OldFeedback") {
$where_clause .= " and status='Feedback' and
TO_DAYS(NOW())-TO_DAYS(ts2)>60";
} else {