Commit bf587cc6 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "externalfeed: use an empty user agent (bug #807341)"

parents d3a663d9 4a922cef
......@@ -310,6 +310,7 @@ class PluginBlocktypeExternalfeed extends SystemBlocktype {
$config = array(
CURLOPT_URL => $source,
CURLOPT_TIMEOUT => 15,
CURLOPT_USERAGENT => '',
);
$result = mahara_http_request($config);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment