diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-09-11 11:54:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-11 11:54:15 +0200 |
commit | 0186d8405ca618b6f6dd015b890d746dfd098e6c (patch) | |
tree | 00af14e4589f24fc14f4ee4b550d4fbfcfe16469 | |
parent | f5617d78ebda88550fb2c0e17c58bbdffdf177ee (diff) | |
parent | 9a63ded43bb87d2a11cb6761b3753ae32d225aa3 (diff) | |
download | nextcloud-server-0186d8405ca618b6f6dd015b890d746dfd098e6c.tar.gz nextcloud-server-0186d8405ca618b6f6dd015b890d746dfd098e6c.zip |
Merge pull request #6433 from william-p/Fix_uninitialized_params
Fix uninitialized variable $this->params
-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(); |