diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-11 21:07:59 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-11 21:07:59 -0400 |
commit | 9e9410df24b1d88d4760510ab496f5fa36f24a66 (patch) | |
tree | 99ec17ed40c52618a2bbb90d72e6da272eacb38b /app/Controller | |
parent | a845e3f47891eca6cdfd8082cdfddbbef0eeecd1 (diff) |
Add Jabber/XMPP integration
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Config.php | 2 | ||||
-rw-r--r-- | app/Controller/Project.php | 2 |
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); } |