Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pain <pain.william@gmail.com>2017-09-10 16:31:57 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-10-25 02:32:59 +0300
commitcfbc0c8141eda9b26edb213dfed1b00b0662beae (patch)
treee0b8976317d01361d78b1f740d89f68762197b9a /lib/private
parent895336a3f3d43db63f07169b23deadf2359a6228 (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.php4
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();