Merge branch 'MDL-78198-404' of https://github.com/andrewnicols/moodle into MOODLE_404_STABLE

This commit is contained in:
Jun Pataleta 2024-06-05 23:46:34 +08:00
commit 09b06bdb28
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -3513,7 +3513,6 @@ class curl {
if (empty($this->header)) {
$this->setHeader(array(
'User-Agent: ' . $useragent,
'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'Connection: keep-alive'
));
} else if (!in_array('User-Agent: ' . $useragent, $this->header)) {