summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 725278a39e6..09b59a2353b 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -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");
$data = curl_exec($curl);
curl_close($curl);