mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 00:27:49 -04:00
composer run cs:fix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
cba7219b25
commit
1ef77ef948
1 changed files with 2 additions and 2 deletions
|
|
@ -78,12 +78,12 @@ class SwiftFactory {
|
|||
* @throws StorageAuthException
|
||||
*/
|
||||
public function getCachedTokenId() {
|
||||
if ( !isset($this->params['cachedToken']) ) {
|
||||
if (!isset($this->params['cachedToken'])) {
|
||||
throw new StorageAuthException('Unauthenticated ObjectStore connection');
|
||||
}
|
||||
|
||||
// Is it V2 token?
|
||||
if ( isset($this->params['cachedToken']['token']) ) {
|
||||
if (isset($this->params['cachedToken']['token'])) {
|
||||
return $this->params['cachedToken']['token']['id'];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue