]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set storage id for openstack swift backend
authorRobin Appelman <icewind@owncloud.com>
Tue, 30 Apr 2013 22:24:34 +0000 (00:24 +0200)
committerMichael Gapczynski <mtgap@owncloud.com>
Fri, 17 May 2013 22:26:57 +0000 (18:26 -0400)
apps/files_external/lib/swift.php

index 68c4b48f17c18ae41562bc9a3f44122517bb10ac..a9cfe5bd20f69807f21a59f4920a38f25a656e80 100644 (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();
                }