Add object manager support to the bug class. Add menu entries for displaying the bug queue and

list of bugs and remove the existing link to admin/adminBugs.php. Remove now unused
admin/adminBugs.php. Remove now unused getNumberOfQueuedBugLinks() and getNumberOfBugLinks()
from util.php. Add object manager unit test support for the bug class.
This commit is contained in:
Chris Morgan
2007-08-27 03:48:44 +00:00
committed by WineHQ
parent 82d02d655f
commit 43a7ea8f1d
8 changed files with 260 additions and 234 deletions

View File

@@ -25,13 +25,17 @@ function global_admin_menu() {
$g->add("Test Results Queue (".testData::objectGetEntriesCount(true, false).")",
BASE."objectManager.php?sClass=testData_queue&bIsQueue=true&sTitle=".
"Test%20Results%20Queue");
$g->add("Bug Link Queue (".bug::objectGetEntriesCount(true, false).")",
BASE."objectManager.php?sClass=bug&bIsQueue=true&sTitle=".
"Bug%20Link%20Queue");
$g->addmisc(" ");
$g->add("Maintainer Entries (".Maintainer::getMaintainerCount().")",
BASE."admin/adminMaintainers.php");
$g->add("Bug Links (".getNumberOfQueuedBugLinks()."/".getNumberOfBugLinks().")",
BASE."admin/adminBugs.php");
$g->add("Bug Links (".bug::objectGetEntriesCount(false, false).")",
BASE."objectManager.php?sClass=bug&bIsQueue=false&sTitle=".
"Bug%20Links");
$g->add("Test Results (".testData::objectGetEntriesCount(false, false).")",
BASE."objectManager.php?sClass=testData&bIsQueue=false&sTitle=".
"View%20Test%20Results");