Commit 72fba50622e2ee8032b523dbe4f40d165f5edad1
1 parent
c9055ad4
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 | /** |