Skip to content
Snippets Groups Projects
Commit db49b0af authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

Merge pull request #3202 from owncloud/swift_id

Set storage id for openstack swift backend
parents f363044b 4c980b1a
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment