mirror of
https://github.com/nextcloud/server.git
synced 2024-09-10 15:07:19 +02:00
Fix typo in getUrlContent fix #514
This commit is contained in:
parent
d91c841f73
commit
8fa7d6a48a
@ -688,7 +688,7 @@ class OC_Util {
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
|
||||
curl_setopt($curl, CURLOPT_URL, $url);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, "ownCloud Server Crawler");
|
||||
curl_setopt($curl, CURLOPT_USERAGENT, "ownCloud Server Crawler");
|
||||
$data = curl_exec($curl);
|
||||
curl_close($curl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user