Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-18 01:22:19 +0400
committerVincent Petry <pvince81@owncloud.com>2013-10-18 01:22:19 +0400
commitb1f72edc5705f3d5eb5f8910e2e14d0fa9805222 (patch)
treef7bd7d0d96c6e08e33cf8989cd10b402426bd8f6 /lib/private/davclient.php
parent52e31405f7848e4fd9f9d19297bbb87facb09376 (diff)
Fixed spaces
Diffstat (limited to 'lib/private/davclient.php')
-rw-r--r--lib/private/davclient.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/davclient.php b/lib/private/davclient.php
index 364846929f6..28f48f3b921 100644
--- a/lib/private/davclient.php
+++ b/lib/private/davclient.php
@@ -25,7 +25,7 @@
* like request timeout.
*/
-class OC_DAVClient extends \Sabre_DAV_Client{
+class OC_DAVClient extends \Sabre_DAV_Client {
protected $requestTimeout;
@@ -33,12 +33,12 @@ class OC_DAVClient extends \Sabre_DAV_Client{
* @brief Sets the request timeout or 0 to disable timeout.
* @param int timeout in seconds or 0 to disable
*/
- public function setRequestTimeout($timeout){
+ public function setRequestTimeout($timeout) {
$this->requestTimeout = (int)$timeout;
}
protected function curlRequest($url, $settings) {
- if ($this->requestTimeout > 0){
+ if ($this->requestTimeout > 0) {
$settings[CURLOPT_TIMEOUT] = $this->requestTimeout;
}
return parent::curlRequest($url, $settings);