Skip to content

Commit

Permalink
Fix call to send_curl_request if using $wgDiscordIncomingWebhookUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Dec 21, 2018
1 parent 3c9d8f0 commit 662af57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DiscordNotificationsCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ static function push_discord_notify($message, $user, $action)
else {
self::send_curl_request($wgDiscordIncomingWebhookUrl, $post);
for ($i = 0; $i < count($wgDiscordAdditionalIncomingWebhookUrls); ++$i) {
self::send_http_request($wgDiscordAdditionalIncomingWebhookUrls[$i], $post);
self::send_curl_request($wgDiscordAdditionalIncomingWebhookUrls[$i], $post);
}
}
}
Expand Down Expand Up @@ -441,4 +441,4 @@ private function getMessage($key) {
return wfMessage( $key)->text();
}
}
?>
?>

0 comments on commit 662af57

Please sign in to comment.