diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Integration/HipchatWebhook.php (renamed from app/Integration/Hipchat.php) | 4 | ||||
-rw-r--r-- | app/ServiceProvider/ClassProvider.php | 2 | ||||
-rw-r--r-- | app/Subscriber/ProjectActivitySubscriber.php | 2 |
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, |