Browse Source
Fix uninitialized variable $this->params
Signed-off-by: William Pain <pain.william@gmail.com>
pull/6433/head
William Pain
8 years ago
No known key found for this signature in database
GPG Key ID: 208DF6922B8F1A1D
1 changed files with
2 additions and
2 deletions
-
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(); |
|
|
|
|