Fixed error in the queue addition.

This commit is contained in:
Loic d'Anterroches 2010-05-11 09:23:15 +02:00
parent 0d61866b89
commit 641a3b24a5

View File

@ -294,7 +294,7 @@ class IDF_Commit extends Pluf_Model
// Even if the url is empty, we add to the queue as some // Even if the url is empty, we add to the queue as some
// plugins may want to do something with this information in // plugins may want to do something with this information in
// an asynchronous way. // an asynchronous way.
$project = $this->get_project();
$url = str_replace(array('%p', '%r'), $url = str_replace(array('%p', '%r'),
array($project->shortname, $this->scm_id), array($project->shortname, $this->scm_id),
$conf->getVal('webhook_url', '')); $conf->getVal('webhook_url', ''));