Do nothing on webhook without an url.

master
Loic d'Anterroches 2010-05-10 10:43:47 +02:00
parent 692d2e53b2
commit c1a477e7d0
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ class IDF_Webhook
// Already processed.
return;
}
if ($item->payload['url'] == '') {
// We do nothing.
return;
}
// We have either to retry or to push for the first time.
$res = self::postNotification($item->payload);
if ($res) {