Skip to content

Commit

Permalink
Remove curlopt safe upload which is not needed since php5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Apr 12, 2024
1 parent cdec3b5 commit 5b99025
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Monolog/Handler/SlackWebhookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ protected function write(LogRecord $record): void
CURLOPT_HTTPHEADER => ['Content-type: application/json'],
CURLOPT_POSTFIELDS => $postString,
];
if (defined('CURLOPT_SAFE_UPLOAD')) {
$options[CURLOPT_SAFE_UPLOAD] = true;
}

curl_setopt_array($ch, $options);

Expand Down

0 comments on commit 5b99025

Please sign in to comment.