summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-11 21:07:59 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-11 21:07:59 -0400
commit9e9410df24b1d88d4760510ab496f5fa36f24a66 (patch)
tree99ec17ed40c52618a2bbb90d72e6da272eacb38b /app/Controller
parenta845e3f47891eca6cdfd8082cdfddbbef0eeecd1 (diff)
Add Jabber/XMPP integration
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Config.php2
-rw-r--r--app/Controller/Project.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Config.php b/app/Controller/Config.php
index 3c884191..c17b9f64 100644
--- a/app/Controller/Config.php
+++ b/app/Controller/Config.php
@@ -44,7 +44,7 @@ class Config extends Base
$values += array('subtask_restriction' => 0, 'subtask_time_tracking' => 0, 'subtask_forecast' => 0);
}
else if ($redirect === 'integrations') {
- $values += array('integration_slack_webhook' => 0, 'integration_hipchat' => 0, 'integration_gravatar' => 0);
+ $values += array('integration_slack_webhook' => 0, 'integration_hipchat' => 0, 'integration_gravatar' => 0, 'integration_jabber' => 0);
}
if ($this->config->save($values)) {
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index 185c55be..3015ecc0 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -97,7 +97,7 @@ class Project extends Base
if ($this->request->isPost()) {
$params = $this->request->getValues();
- $params += array('hipchat' => 0, 'slack' => 0);
+ $params += array('hipchat' => 0, 'slack' => 0, 'jabber' => 0);
$this->projectIntegration->saveParameters($project['id'], $params);
}