Fixed error in the queue addition.

master
Loic d'Anterroches 2010-05-11 09:23:15 +02:00
parent 0d61866b89
commit 641a3b24a5
1 changed files with 1 additions and 1 deletions

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
// plugins may want to do something with this information in
// an asynchronous way.
$project = $this->get_project();
$url = str_replace(array('%p', '%r'),
array($project->shortname, $this->scm_id),
$conf->getVal('webhook_url', ''));