]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix display name of encryption modules
authorJoas Schilling <nickvergessen@owncloud.com>
Sat, 18 Apr 2015 08:18:58 +0000 (10:18 +0200)
committerJoas Schilling <nickvergessen@owncloud.com>
Sat, 18 Apr 2015 08:18:58 +0000 (10:18 +0200)
lib/private/encryption/manager.php

index e01054c92a4251e87fbe2b53a9fdd47bbbd6b429..7a3f17519fce8271dadc70b88d1cccf808d1b187 100644 (file)
@@ -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,
+               ];
        }
 
        /**