summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-10-15 13:27:23 +0200
committerVincent Petry <pvince81@owncloud.com>2014-10-15 13:27:23 +0200
commit46501016743708ef4165d178bcaa5d5458d3bddd (patch)
treeadeea74fedfdfce1956ae710f860a9bba23eab2b /lib/private/files
parentdd0b1e83b22492bcfb79fe2b2539f177889ce312 (diff)
parentab5149f5df332a41f88973ecdc0a9b7ba24a5423 (diff)
downloadnextcloud-server-46501016743708ef4165d178bcaa5d5458d3bddd.tar.gz
nextcloud-server-46501016743708ef4165d178bcaa5d5458d3bddd.zip
Merge pull request #11548 from owncloud/extstorage-ocfields
Allow specifying protocol in ext storage OC config
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/storage/dav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files/storage/dav.php b/lib/private/files/storage/dav.php
index a0ef79a7b32..7f53704e94f 100644
--- a/lib/private/files/storage/dav.php
+++ b/lib/private/files/storage/dav.php
@@ -58,7 +58,7 @@ class DAV extends \OC\Files\Storage\Common {
$this->root .= '/';
}
} else {
- throw new \Exception();
+ throw new \Exception('Invalid webdav storage configuration');
}
}
@@ -85,7 +85,7 @@ class DAV extends \OC\Files\Storage\Common {
return 'webdav::' . $this->user . '@' . $this->host . '/' . $this->root;
}
- protected function createBaseUri() {
+ public function createBaseUri() {
$baseUri = 'http';
if ($this->secure) {
$baseUri .= 's';