Set storage id for openstack swift backend

This commit is contained in:
Robin Appelman 2013-05-01 00:24:34 +02:00
parent 1f194b7bdc
commit 4c980b1a14
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}