summaryrefslogtreecommitdiff
path: root/app/Export/TransitionExport.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Export/TransitionExport.php')
-rw-r--r--app/Export/TransitionExport.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Export/TransitionExport.php b/app/Export/TransitionExport.php
index 97dc28a7..0df1f70e 100644
--- a/app/Export/TransitionExport.php
+++ b/app/Export/TransitionExport.php
@@ -25,7 +25,7 @@ class TransitionExport extends Base
public function export($project_id, $from, $to)
{
$results = array($this->getColumns());
- $transitions = $this->transition->getAllByProjectAndDate($project_id, $from, $to);
+ $transitions = $this->transitionModel->getAllByProjectAndDate($project_id, $from, $to);
foreach ($transitions as $transition) {
$results[] = $this->format($transition);
@@ -68,7 +68,7 @@ class TransitionExport extends Base
$transition['src_column'],
$transition['dst_column'],
$transition['name'] ?: $transition['username'],
- date($this->config->get('application_datetime_format', DateParser::DATE_TIME_FORMAT), $transition['date']),
+ date($this->configModel->get('application_datetime_format', DateParser::DATE_TIME_FORMAT), $transition['date']),
round($transition['time_spent'] / 3600, 2)
);