Skip to content
Snippets Groups Projects
Commit 4c980b1a authored by Robin Appelman's avatar Robin Appelman
Browse files

Set storage id for openstack swift backend

parent 1f194b7b
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