mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 13:46:38 +02:00
Remove curlopt safe upload which is not needed since php5.6
This commit is contained in:
@@ -104,9 +104,6 @@ class SlackWebhookHandler extends AbstractProcessingHandler
|
|||||||
CURLOPT_HTTPHEADER => ['Content-type: application/json'],
|
CURLOPT_HTTPHEADER => ['Content-type: application/json'],
|
||||||
CURLOPT_POSTFIELDS => $postString,
|
CURLOPT_POSTFIELDS => $postString,
|
||||||
];
|
];
|
||||||
if (defined('CURLOPT_SAFE_UPLOAD')) {
|
|
||||||
$options[CURLOPT_SAFE_UPLOAD] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
curl_setopt_array($ch, $options);
|
curl_setopt_array($ch, $options);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user