Module: appdb Branch: master Commit: d526734565606ddba50cd0c51783a719d9bd5b91 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=d526734565606ddba50cd0c51...
Author: Alexander Nicolaysen Sørnes alexsornes@gmail.com Date: Sun Jan 12 15:44:36 2014 +0100
testData: Avoid deprecated mktime()
---
include/testData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/testData.php b/include/testData.php index b30709f..005ea8a 100644 --- a/include/testData.php +++ b/include/testData.php @@ -1484,7 +1484,7 @@ class testData{ if(!$this->iTestingId) return false;
- return ((mktime() - mysqltimestamp_to_unixtimestamp($this->sSubmitTime)) > (60 * 60 * 24 * TESTDATA_AGED_THRESHOLD)); + return ((time() - mysqltimestamp_to_unixtimestamp($this->sSubmitTime)) > (60 * 60 * 24 * TESTDATA_AGED_THRESHOLD)); }
public function objectSetParent($iNewId, $sClass = 'version')