1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Remove curlopt safe upload which is not needed since php5.6

This commit is contained in:
Jordi Boggiano
2024-04-12 15:41:24 +02:00
parent cdec3b52ad
commit 5b990255a3

View File

@@ -104,9 +104,6 @@ class SlackWebhookHandler extends AbstractProcessingHandler
CURLOPT_HTTPHEADER => ['Content-type: application/json'],
CURLOPT_POSTFIELDS => $postString,
];
if (defined('CURLOPT_SAFE_UPLOAD')) {
$options[CURLOPT_SAFE_UPLOAD] = true;
}
curl_setopt_array($ch, $options);