mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
Merge branch 'MDL-78198-404' of https://github.com/andrewnicols/moodle into MOODLE_404_STABLE
This commit is contained in:
commit
09b06bdb28
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user