summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/webdav.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-29 08:42:49 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-29 20:29:43 +0200
commit0e58800016419daf3b2d032136415a5fe9d6331f (patch)
treec842a8c9104b3c9f2ceab2d505fe01a25f7d0dda /apps/files_external/lib/webdav.php
parent52f2e7112ea985203eca16aa787bd75a7cf92194 (diff)
downloadnextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.tar.gz
nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.zip
Whitespace fixes in apps
Diffstat (limited to 'apps/files_external/lib/webdav.php')
-rw-r--r--apps/files_external/lib/webdav.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index e3f73c5c0a7..1b9c3e3333b 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -18,7 +18,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
private $client;
private static $tempFiles=array();
-
+
public function __construct($params){
$host = $params['host'];
//remove leading http[s], will be generated in createBaseUri()
@@ -35,7 +35,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
if(substr($this->root,-1,1)!='/'){
$this->root.='/';
}
-
+
$settings = array(
'baseUri' => $this->createBaseUri(),
'userName' => $this->user,
@@ -43,7 +43,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
);
$this->client = new OC_Connector_Sabre_Client($settings);
-
+
if($caview = \OCP\Files::getStorage('files_external')) {
$certPath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("").'rootcerts.crt';
if (file_exists($certPath)) {
@@ -296,4 +296,3 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
}
}
}
-