Commit f63b368789766a667388c2efa0cb19d869d92e0f

Authored by Michael Joseph
1 parent ada92959

corrected variable names


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1914 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 3 deletions
lib/archiving/TimePeriod.inc
@@ -33,13 +33,13 @@ class TimePeriod { @@ -33,13 +33,13 @@ class TimePeriod {
33 * @param date the time unit 33 * @param date the time unit
34 * @param integer the expiration time period id 34 * @param integer the expiration time period id
35 */ 35 */
36 - function TimePeriod($dNewExpirationDate, $iNewTimePeriodID) { 36 + function TimePeriod($iNewTimeUnitID, $iNewUnits) {
37 global $default; 37 global $default;
38 38
39 // primary key not set as this is not stored yet 39 // primary key not set as this is not stored yet
40 $this->iId = -1; 40 $this->iId = -1;
41 - $this->iTimeUnitID = $dNewExpirationDate;  
42 - $this->iUnits = $iNewTimePeriodID; 41 + $this->iTimeUnitID = $iNewTimeUnitID;
  42 + $this->iUnits = $iNewUnits;
43 } 43 }
44 44
45 /** 45 /**