We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6315f33 + af2bbd6 commit 24cc149Copy full SHA for 24cc149
Model/AdminNotificationFeed.php
@@ -323,11 +323,11 @@ protected function parentGetFeedData()
323
$curl = $this->curlFactory->create();
324
$curl->setOptions(
325
[
326
- 'timeout' => 2,
327
- 'useragent' => $this->productMetadata->getName()
+ CURLOPT_TIMEOUT => 2,
+ CURLOPT_USERAGENT => $this->productMetadata->getName()
328
. '/' . $this->productMetadata->getVersion()
329
. ' (' . $this->productMetadata->getEdition() . ')',
330
- 'referer' => $this->urlBuilder->getUrl('*/*/*')
+ CURLOPT_REFERER => $this->urlBuilder->getUrl('*/*/*')
331
]
332
);
333
$curl->write('GET', $this->getFeedUrl(), '1.0');
0 commit comments