diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 19:48:22 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 19:48:22 -0400 |
commit | 14713b0ec7ed93ca45578da069ad4e19a7d8addf (patch) | |
tree | 79972d53f6091a1ddb17f64a6a05a5523f5d5168 /app/Controller/ProjectActionDuplicationController.php | |
parent | 936376ffe74c583d3cb819e98f53a85137fdf8bc (diff) |
Rename all models
Diffstat (limited to 'app/Controller/ProjectActionDuplicationController.php')
-rw-r--r-- | app/Controller/ProjectActionDuplicationController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/ProjectActionDuplicationController.php b/app/Controller/ProjectActionDuplicationController.php index 790b7ed3..a4993cca 100644 --- a/app/Controller/ProjectActionDuplicationController.php +++ b/app/Controller/ProjectActionDuplicationController.php @@ -13,7 +13,7 @@ class ProjectActionDuplicationController extends BaseController public function show() { $project = $this->getProject(); - $projects = $this->projectUserRole->getProjectsByUser($this->userSession->getId()); + $projects = $this->projectUserRoleModel->getProjectsByUser($this->userSession->getId()); unset($projects[$project['id']]); $this->response->html($this->template->render('project_action_duplication/show', array( @@ -27,7 +27,7 @@ class ProjectActionDuplicationController extends BaseController $project = $this->getProject(); $src_project_id = $this->request->getValue('src_project_id'); - if ($this->action->duplicate($src_project_id, $project['id'])) { + if ($this->actionModel->duplicate($src_project_id, $project['id'])) { $this->flash->success(t('Actions duplicated successfully.')); } else { $this->flash->failure(t('Unable to duplicate actions.')); |