diff options
author | William Pain <pain.william@gmail.com> | 2017-09-10 16:31:57 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-10-25 02:32:59 +0300 |
commit | cfbc0c8141eda9b26edb213dfed1b00b0662beae (patch) | |
tree | e0b8976317d01361d78b1f740d89f68762197b9a /lib/private | |
parent | 895336a3f3d43db63f07169b23deadf2359a6228 (diff) |
Fix uninitialized variable $this->params
Signed-off-by: William Pain <pain.william@gmail.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Files/ObjectStore/Swift.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index 8b64fd66de0..36a1a4a873f 100644 --- a/lib/private/Files/ObjectStore/Swift.php +++ b/lib/private/Files/ObjectStore/Swift.php @@ -73,10 +73,10 @@ class Swift implements IObjectStore { if (isset($params['apiKey'])) { $this->client = new Rackspace($params['url'], $params); - $cacheKey = $this->params['username'] . '@' . $this->params['url'] . '/' . $this->params['bucket']; + $cacheKey = $params['username'] . '@' . $params['url'] . '/' . $params['bucket']; } else { $this->client = new OpenStack($params['url'], $params); - $cacheKey = $this->params['username'] . '@' . $this->params['url'] . '/' . $this->params['bucket']; + $cacheKey = $params['username'] . '@' . $params['url'] . '/' . $params['bucket']; } $cacheFactory = \OC::$server->getMemCacheFactory(); |