Consistent use of return , payment refund handling

This commit is contained in:
Deon George
2013-04-05 23:50:08 +11:00
parent 43dfd88bce
commit 52d9005b64
30 changed files with 255 additions and 210 deletions

View File

@@ -106,7 +106,7 @@ class Period {
// Change our end date to the day before
$period_end -= 86400;
$return = array(
$result = array(
'start'=>$period_start,
'start_time'=>$start,
'date'=>$start,
@@ -121,9 +121,9 @@ class Period {
if ($df)
foreach (array('start','date','end') as $key)
$return[$key] = Config::date($return[$key]);
$result[$key] = Config::date($result[$key]);
return $return;
return $result;
}
}
?>