summaryrefslogtreecommitdiff
path: root/app/Controller/ExternalTaskCreationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/ExternalTaskCreationController.php')
-rw-r--r--app/Controller/ExternalTaskCreationController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/ExternalTaskCreationController.php b/app/Controller/ExternalTaskCreationController.php
index f2afd9aa..a1985adb 100644
--- a/app/Controller/ExternalTaskCreationController.php
+++ b/app/Controller/ExternalTaskCreationController.php
@@ -44,7 +44,7 @@ class ExternalTaskCreationController extends BaseController
if (empty($values)) {
$values = $this->request->getValues();
- $externalTask = $taskProvider->retrieve($taskProvider->buildTaskUri($values));
+ $externalTask = $taskProvider->fetch($taskProvider->buildTaskUri($values));
$values = $externalTask->getFormValues() + array(
'external_uri' => $externalTask->getUri(),
@@ -56,7 +56,7 @@ class ExternalTaskCreationController extends BaseController
'owner_id' => $this->userSession->getId(),
);
} else {
- $externalTask = $taskProvider->retrieve($values['external_uri']);
+ $externalTask = $taskProvider->fetch($values['external_uri']);
}
$this->response->html($this->template->render('external_task_creation/step2', array(