summaryrefslogtreecommitdiff
path: root/app/Controller/FeedController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/FeedController.php')
-rw-r--r--app/Controller/FeedController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/FeedController.php b/app/Controller/FeedController.php
index e453ecb9..cf2b1088 100644
--- a/app/Controller/FeedController.php
+++ b/app/Controller/FeedController.php
@@ -20,7 +20,7 @@ class FeedController extends BaseController
public function user()
{
$token = $this->request->getStringParam('token');
- $user = $this->user->getByToken($token);
+ $user = $this->userModel->getByToken($token);
// Token verification
if (empty($user)) {
@@ -28,7 +28,7 @@ class FeedController extends BaseController
}
$this->response->xml($this->template->render('feed/user', array(
- 'events' => $this->helper->projectActivity->getProjectsEvents($this->projectPermission->getActiveProjectIds($user['id'])),
+ 'events' => $this->helper->projectActivity->getProjectsEvents($this->projectPermissionModel->getActiveProjectIds($user['id'])),
'user' => $user,
)));
}
@@ -41,7 +41,7 @@ class FeedController extends BaseController
public function project()
{
$token = $this->request->getStringParam('token');
- $project = $this->project->getByToken($token);
+ $project = $this->projectModel->getByToken($token);
if (empty($project)) {
throw AccessForbiddenException::getInstance()->withoutLayout();