summaryrefslogtreecommitdiffstats
path: root/lib/private/encryption
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-18 10:18:58 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-18 10:18:58 +0200
commit4d238c3949894f464575aea626b14053a25cb7d6 (patch)
treebb483bd11bcde9576fa0147bb833a3972af7e917 /lib/private/encryption
parent37a871127b750d0f633cdfb7713b0582dfdf2d6a (diff)
downloadnextcloud-server-4d238c3949894f464575aea626b14053a25cb7d6.tar.gz
nextcloud-server-4d238c3949894f464575aea626b14053a25cb7d6.zip
Fix display name of encryption modules
Diffstat (limited to 'lib/private/encryption')
-rw-r--r--lib/private/encryption/manager.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/encryption/manager.php b/lib/private/encryption/manager.php
index e01054c92a4..7a3f17519fc 100644
--- a/lib/private/encryption/manager.php
+++ b/lib/private/encryption/manager.php
@@ -106,11 +106,11 @@ class Manager implements IManager {
$this->setDefaultEncryptionModule($id);
}
- $this->encryptionModules[$id] = array(
+ $this->encryptionModules[$id] = [
'id' => $id,
- 'displayName' => 'displayName',
- 'callback' => $callback
- );
+ 'displayName' => $displayName,
+ 'callback' => $callback,
+ ];
}
/**