diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-10-17 23:22:19 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-10-17 23:22:19 +0200 |
commit | b1f72edc5705f3d5eb5f8910e2e14d0fa9805222 (patch) | |
tree | f7bd7d0d96c6e08e33cf8989cd10b402426bd8f6 /lib/private | |
parent | 52e31405f7848e4fd9f9d19297bbb87facb09376 (diff) | |
download | nextcloud-server-b1f72edc5705f3d5eb5f8910e2e14d0fa9805222.tar.gz nextcloud-server-b1f72edc5705f3d5eb5f8910e2e14d0fa9805222.zip |
Fixed spaces
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/davclient.php | 6 |
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); |