summaryrefslogtreecommitdiff
path: root/app/Integration/Jabber.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-17 10:09:03 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-17 10:09:03 -0400
commit8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec (patch)
tree289222e21420b8d0092f06de097090f179202f6b /app/Integration/Jabber.php
parentb40190ee9fd557d86e594208ed77fa762c7dcfb7 (diff)
Run php-cs-fixer on the code base
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());
}
}