summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-09 17:35:47 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-14 08:36:26 +0100
commitcd35d257bb3bef2e02ccf0cd99e59a74f1a753b9 (patch)
tree65d75158609697518a2023932b75c60c1a99ea42 /lib/util.php
parentd3ef967993d1e685e3311b073a8312c9dafdf214 (diff)
downloadnextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.tar.gz
nextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.zip
Fix NoSpaceAfterComma and SpaceBeforeComma
Diffstat (limited to 'lib/util.php')
-rwxr-xr-xlib/util.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util.php b/lib/util.php
index 59e67f2a5f1..b9ac8ed75d8 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -691,10 +691,10 @@ class OC_Util {
curl_setopt($curl, CURLOPT_MAXREDIRS, 10);
curl_setopt($curl, CURLOPT_USERAGENT, "ownCloud Server Crawler");
- if(OC_Config::getValue('proxy','')<>'') {
+ if(OC_Config::getValue('proxy', '')<>'') {
curl_setopt($curl, CURLOPT_PROXY, OC_Config::getValue('proxy'));
}
- if(OC_Config::getValue('proxyuserpwd','')<>'') {
+ if(OC_Config::getValue('proxyuserpwd', '')<>'') {
curl_setopt($curl, CURLOPT_PROXYUSERPWD, OC_Config::getValue('proxyuserpwd'));
}
$data = curl_exec($curl);
@@ -703,7 +703,7 @@ class OC_Util {
} else {
$contextArray = null;
- if(OC_Config::getValue('proxy','')<>'') {
+ if(OC_Config::getValue('proxy', '')<>'') {
$contextArray = array(
'http' => array(
'timeout' => 10,