summaryrefslogtreecommitdiff
path: root/app/Model/Webhook.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-04 23:31:03 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-04 23:31:03 -0400
commit8e5673e3d289e4d28b4fc9f20721bda9f1c858c7 (patch)
treea5dc3eff7408e8709d20ea92b926c5424d70c5f9 /app/Model/Webhook.php
parentf531d57dc27b9d1568de0a10b19f69e8c2b2f156 (diff)
Improve settings page and move some config parameters to the database
Diffstat (limited to 'app/Model/Webhook.php')
-rw-r--r--app/Model/Webhook.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Model/Webhook.php b/app/Model/Webhook.php
index e03bdcb4..241806ba 100644
--- a/app/Model/Webhook.php
+++ b/app/Model/Webhook.php
@@ -64,9 +64,9 @@ class Webhook extends Base
*/
public function attachEvents()
{
- $this->url_task_creation = $this->config->get('webhooks_url_task_creation');
- $this->url_task_modification = $this->config->get('webhooks_url_task_modification');
- $this->token = $this->config->get('webhooks_token');
+ $this->url_task_creation = $this->config->get('webhook_url_task_creation');
+ $this->url_task_modification = $this->config->get('webhook_url_task_modification');
+ $this->token = $this->config->get('webhook_token');
if ($this->url_task_creation) {
$this->attachCreateEvents();