diff options
author | William Pain <pain.william@gmail.com> | 2017-09-10 15:31:57 +0200 |
---|---|---|
committer | William Pain <pain.william@gmail.com> | 2017-09-11 10:01:12 +0200 |
commit | 9a63ded43bb87d2a11cb6761b3753ae32d225aa3 (patch) | |
tree | e02a9dde6e24c418e4863c08bb1beeb3b2d41000 /lib/private | |
parent | 3f6692ee245e01634ed49c0c11e8a286fc01352a (diff) | |
download | nextcloud-server-9a63ded43bb87d2a11cb6761b3753ae32d225aa3.tar.gz nextcloud-server-9a63ded43bb87d2a11cb6761b3753ae32d225aa3.zip |
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(); |