ChangeSet ID: 31085 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/04/22 00:21:12
Modified files: include : testData.php
Log message: Chris Morgan cmorgan@alum.wpi.edu Work around bug where submitting versions resulted in testData not being properly queued
Patch: http://cvs.winehq.org/patch.py?id=31085
Old revision New revision Changes Path 1.44 1.45 +2 -9 appdb/include/testData.php
Index: appdb/include/testData.php diff -u -p appdb/include/testData.php:1.44 appdb/include/testData.php:1.45 --- appdb/include/testData.php:1.44 22 Apr 2007 5:21:12 -0000 +++ appdb/include/testData.php 22 Apr 2007 5:21:12 -0000 @@ -923,15 +923,8 @@ class testData{ { if($_SESSION['current']->hasPriv("admin")) return FALSE; - else if($this->iVersionId) - { - $oVersion = new version($this->iVersionId); - if($oVersion->canEdit()) - return FALSE; - else - return TRUE; - } else - return TRUE; + + return TRUE; } }