Alexander Nicolaysen Sørnes : testData: Use TESTDATA_AGED_THRESHOLD instead of hard-coded number

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Jul 26 20:25:41 CDT 2009


Module: appdb
Branch: master
Commit: 7682b4ae67294de2786423adda23d07e7eef499f
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=7682b4ae67294de2786423adda23d07e7eef499f

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Mon Jul 27 03:24:17 2009 +0200

testData: Use TESTDATA_AGED_THRESHOLD instead of hard-coded number

---

 include/testData.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/testData.php b/include/testData.php
index 6861e18..23aff30 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -1421,7 +1421,7 @@ class testData{
         if(!$this->iTestingId)
             return false;
 
-        return ((mktime() - mysqltimestamp_to_unixtimestamp($this->sSubmitTime)) > (60 * 60 * 24  * 175));
+        return ((mktime() - mysqltimestamp_to_unixtimestamp($this->sSubmitTime)) > (60 * 60 * 24  * TESTDATA_AGED_THRESHOLD));
     }
 
     public function objectSetParent($iNewId, $sClass = 'version')




More information about the wine-cvs mailing list