diff --git a/PHPCI/Plugin/SlackNotify.php b/PHPCI/Plugin/SlackNotify.php index 93a2e272..0e8d1cad 100644 --- a/PHPCI/Plugin/SlackNotify.php +++ b/PHPCI/Plugin/SlackNotify.php @@ -101,7 +101,6 @@ class SlackNotify implements \PHPCI\Plugin // Include an attachment which shows the status and hide the message if ($this->show_status) { - $successfulBuild = $this->build->isSuccessful(); if ($successfulBuild) {