diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-09 21:40:57 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-09 21:40:57 -0500 |
commit | a46757778f69e4b54f668f8542c06702eb1ef309 (patch) | |
tree | aed93576fbd521538f6ab1899a62a7e0a275c0e2 | |
parent | 8d8ca37e73b3058b12a578b8aace7a869d53f840 (diff) |
Rename hooks
-rw-r--r-- | app/Controller/Gantt.php | 2 | ||||
-rw-r--r-- | app/Controller/Taskcreation.php | 2 | ||||
-rw-r--r-- | app/Controller/Taskmodification.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/Gantt.php b/app/Controller/Gantt.php index c8c8a8a3..5dbd1243 100644 --- a/app/Controller/Gantt.php +++ b/app/Controller/Gantt.php @@ -108,7 +108,7 @@ class Gantt extends Base ); $values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values)); - $values = $this->hook->merge('controller:task:form:gantt', $values, array('default_values' => $values)); + $values = $this->hook->merge('controller:gantt:task:form:default', $values, array('default_values' => $values)); $this->response->html($this->template->render('gantt/task_creation', array( 'project' => $project, diff --git a/app/Controller/Taskcreation.php b/app/Controller/Taskcreation.php index 72f756df..f1ac7272 100644 --- a/app/Controller/Taskcreation.php +++ b/app/Controller/Taskcreation.php @@ -29,7 +29,7 @@ class Taskcreation extends Base ); $values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values)); - $values = $this->hook->merge('controller:task:form:task-creation', $values, array('default_values' => $values)); + $values = $this->hook->merge('controller:task-creation:form:default', $values, array('default_values' => $values)); } $this->response->html($this->template->render('task_creation/form', array( diff --git a/app/Controller/Taskmodification.php b/app/Controller/Taskmodification.php index e3c59d44..306d34c0 100644 --- a/app/Controller/Taskmodification.php +++ b/app/Controller/Taskmodification.php @@ -80,7 +80,7 @@ class Taskmodification extends Base if (empty($values)) { $values = $task; $values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values)); - $values = $this->hook->merge('controller:task:form:task-modification', $values, array('default_values' => $values)); + $values = $this->hook->merge('controller:task-modification:form:default', $values, array('default_values' => $values)); } $values = $this->dateParser->format($values, array('date_due'), $this->config->get('application_date_format', 'm/d/Y')); |