mirror of
https://github.com/nextcloud/server.git
synced 2024-08-11 02:11:21 +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