summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-05-01 00:24:34 +0200
committerRobin Appelman <icewind@owncloud.com>2013-05-01 00:24:34 +0200
commit4c980b1a14453d2732a432dbc6c14dd4ed1155fe (patch)
treedb0582ac43b5dff159b287d86d49e30924b36abc
parent1f194b7bdcbac868525b164b29814d3373b6e818 (diff)
downloadnextcloud-server-4c980b1a14453d2732a432dbc6c14dd4ed1155fe.tar.gz
nextcloud-server-4c980b1a14453d2732a432dbc6c14dd4ed1155fe.zip
Set storage id for openstack swift backend
-rw-r--r--apps/files_external/lib/swift.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php
index 68c4b48f17c..a9cfe5bd20f 100644
--- a/apps/files_external/lib/swift.php
+++ b/apps/files_external/lib/swift.php
@@ -287,6 +287,7 @@ class SWIFT extends \OC\Files\Storage\Common{
if ( ! $this->root || $this->root[0]!='/') {
$this->root='/'.$this->root;
}
+ $this->id = 'swift:' . $this->host . ':'.$this->root . ':' . $this->user;
} else {
throw new \Exception();
}