From 9e9410df24b1d88d4760510ab496f5fa36f24a66 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 11 May 2015 21:07:59 -0400 Subject: Add Jabber/XMPP integration --- app/Controller/Config.php | 2 +- app/Controller/Project.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controller') 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); } -- cgit v1.2.3