summaryrefslogtreecommitdiff
path: root/app/Api/Project.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-04-10 12:13:42 -0400
committerFrederic Guillot <fred@kanboard.net>2016-04-10 12:13:42 -0400
commit2eadfb22912d94e76a479b694070735fbb0298f1 (patch)
tree4280c1bc33851da2188f4bc0aa49310a5923e021 /app/Api/Project.php
parent7b74f55a285d2785f83be148abdeab95e2b4a7c6 (diff)
Refactor ProjectActivity model to use Filter and Formatter interface
Diffstat (limited to 'app/Api/Project.php')
-rw-r--r--app/Api/Project.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Api/Project.php b/app/Api/Project.php
index 8e311f7f..846d7046 100644
--- a/app/Api/Project.php
+++ b/app/Api/Project.php
@@ -53,13 +53,13 @@ class Project extends Base
public function getProjectActivities(array $project_ids)
{
- return $this->projectActivity->getProjects($project_ids);
+ return $this->helper->projectActivity->getProjectsEvents($project_ids);
}
public function getProjectActivity($project_id)
{
$this->checkProjectPermission($project_id);
- return $this->projectActivity->getProject($project_id);
+ return $this->helper->projectActivity->getProjectEvents($project_id);
}
public function createProject($name, $description = null)