Clean %buildurl% var for message option: just url given now, not the html link

This commit is contained in:
a.cianfarani 2013-08-28 10:47:00 +02:00
parent 03c5fb5558
commit 17852f8aa8

View file

@ -44,7 +44,7 @@ class Campfire implements \PHPCI\Plugin
public function execute()
{
$url = "<a href='".PHPCI_URL."build/view/".$this->phpci->getBuild()->getId()."'>";
$url = PHPCI_URL."build/view/".$this->phpci->getBuild()->getId();
$message = str_replace("%buildurl%", $url, $this->message);
$this->joinRoom($this->roomId);
$status = $this->speak($message,$this->roomId);