summaryrefslogtreecommitdiff
path: root/app/Controller/Activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Activity.php')
-rw-r--r--app/Controller/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Activity.php b/app/Controller/Activity.php
index e455b1da..47a66e0a 100644
--- a/app/Controller/Activity.php
+++ b/app/Controller/Activity.php
@@ -20,7 +20,7 @@ class Activity extends Base
$project = $this->getProject();
$this->response->html($this->helper->layout->app('activity/project', array(
- 'events' => $this->projectActivity->getProject($project['id']),
+ 'events' => $this->helper->projectActivity->getProjectEvents($project['id']),
'project' => $project,
'title' => t('%s\'s activity', $project['name'])
)));
@@ -39,7 +39,7 @@ class Activity extends Base
'title' => $task['title'],
'task' => $task,
'project' => $this->project->getById($task['project_id']),
- 'events' => $this->projectActivity->getTask($task['id']),
+ 'events' => $this->helper->projectActivity->getTaskEvents($task['id']),
)));
}
}