summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-04-19 19:33:58 -0400
committerFrederic Guillot <fred@kanboard.net>2015-04-19 19:33:58 -0400
commite30bf47d94e84efe42c05148dddd6cec499d12ae (patch)
treee15c0175387803485ad2f250945193b8b7480ec4
parentf190be9e2d4d285fb71d84e5d3884206067cf7af (diff)
Rename Hipchat class
-rw-r--r--app/Integration/HipchatWebhook.php (renamed from app/Integration/Hipchat.php)4
-rw-r--r--app/ServiceProvider/ClassProvider.php2
-rw-r--r--app/Subscriber/ProjectActivitySubscriber.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/app/Integration/Hipchat.php b/app/Integration/HipchatWebhook.php
index d0a48e42..03b85232 100644
--- a/app/Integration/Hipchat.php
+++ b/app/Integration/HipchatWebhook.php
@@ -3,12 +3,12 @@
namespace Integration;
/**
- * Hipchat
+ * Hipchat webhook
*
* @package integration
* @author Frederic Guillot
*/
-class Hipchat extends Base
+class HipchatWebhook extends Base
{
/**
* Return true if Hipchat is enabled for this project or globally
diff --git a/app/ServiceProvider/ClassProvider.php b/app/ServiceProvider/ClassProvider.php
index a64ac061..b78eb71a 100644
--- a/app/ServiceProvider/ClassProvider.php
+++ b/app/ServiceProvider/ClassProvider.php
@@ -76,7 +76,7 @@ class ClassProvider implements ServiceProviderInterface
'GitlabWebhook',
'GithubWebhook',
'BitbucketWebhook',
- 'Hipchat',
+ 'HipchatWebhook',
'MailgunWebhook',
'SendgridWebhook',
'SlackWebhook',
diff --git a/app/Subscriber/ProjectActivitySubscriber.php b/app/Subscriber/ProjectActivitySubscriber.php
index 696b958b..1c20a996 100644
--- a/app/Subscriber/ProjectActivitySubscriber.php
+++ b/app/Subscriber/ProjectActivitySubscriber.php
@@ -59,7 +59,7 @@ class ProjectActivitySubscriber extends Base implements EventSubscriberInterface
private function sendHipchatNotification($event_name, array $values)
{
- $this->hipchat->notify(
+ $this->hipchatWebhook->notify(
$values['task']['project_id'],
$values['task']['id'],
$event_name,