summaryrefslogtreecommitdiff
path: root/app/Integration/Jabber.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Integration/Jabber.php')
-rw-r--r--app/Integration/Jabber.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/Integration/Jabber.php b/app/Integration/Jabber.php
index 9c7dcd40..d776e560 100644
--- a/app/Integration/Jabber.php
+++ b/app/Integration/Jabber.php
@@ -72,7 +72,6 @@ class Jabber extends \Kanboard\Core\Base
public function notify($project_id, $task_id, $event_name, array $event)
{
if ($this->isActivated($project_id)) {
-
$project = $this->project->getbyId($project_id);
$event['event_name'] = $event_name;
@@ -98,7 +97,6 @@ class Jabber extends \Kanboard\Core\Base
public function sendMessage($project_id, $payload)
{
try {
-
$params = $this->getParameters($project_id);
$options = new Options($params['server']);
@@ -121,8 +119,7 @@ class Jabber extends \Kanboard\Core\Base
$client->send($message);
$client->disconnect();
- }
- catch (Exception $e) {
+ } catch (Exception $e) {
$this->container['logger']->error('Jabber error: '.$e->getMessage());
}
}