ChangeSet ID: 31353
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/08/26 22:48:44
Modified files:
. : objectManager.php
include : bugs.php maintainer.php sidebar_admin.php
util.php version.php
unit_test : test_om_objects.php
Removed files:
admin : adminBugs.php
Log message:
Chris Morgan <cmorgan(a)alum.wpi.edu>
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.
Patch: http://cvs.winehq.org/patch.py?id=31353
Old revision New revision Changes Path
1.18 1.19 +1 -0 appdb/objectManager.php
1.18 Removed +0 -0 appdb/admin/adminBugs.php
1.29 1.30 +225 -34 appdb/include/bugs.php
1.55 1.56 +2 -0 appdb/include/maintainer.php
1.45 1.46 +6 -2 appdb/include/sidebar_admin.php
1.103 1.104 +0 -24 appdb/include/util.php
1.148 1.149 +1 -0 appdb/include/version.php
1.23 1.24 +25 -4 appdb/unit_test/test_om_objects.php
ChangeSet ID: 31352
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/08/26 22:46:03
Modified files:
include : distribution.php
Log message:
Chris Morgan <cmorgan(a)alum.wpi.edu>
Skip deleting a distributions test results if there are no test results for the distribution
Patch: http://cvs.winehq.org/patch.py?id=31352
Old revision New revision Changes Path
1.44 1.45 +6 -3 appdb/include/distribution.php
Index: appdb/include/distribution.php
diff -u -p appdb/include/distribution.php:1.44 appdb/include/distribution.php:1.45
--- appdb/include/distribution.php:1.44 27 Aug 2007 3:46: 3 -0000
+++ appdb/include/distribution.php 27 Aug 2007 3:46: 3 -0000
@@ -157,10 +157,13 @@ class distribution {
return FALSE;
// delete any test results this distribution has
- foreach($this->aTestingIds as $iTestId)
+ if($this->aTestingIds)
{
- $oTestData = new TestData($iTestId);
- $oTestData->delete();
+ foreach($this->aTestingIds as $iTestId)
+ {
+ $oTestData = new TestData($iTestId);
+ $oTestData->delete();
+ }
}
// now delete the Distribution