diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-14 16:48:39 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-17 10:31:33 +0200 |
commit | 7d4b1b52d08fd4bc8e9f65ca2ccc747de2fc429a (patch) | |
tree | c40489a85da1be3eb66041a2ca2719f38c0298f3 /apps/encryption/lib/crypto | |
parent | f32d97750c33942db53a56d1deceacb2ed3e779b (diff) | |
download | nextcloud-server-7d4b1b52d08fd4bc8e9f65ca2ccc747de2fc429a.tar.gz nextcloud-server-7d4b1b52d08fd4bc8e9f65ca2ccc747de2fc429a.zip |
always create a new instance of the encryption module
Diffstat (limited to 'apps/encryption/lib/crypto')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index fd5a84c9734..8498b4223e1 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -32,6 +32,7 @@ use OCA\Encryption\KeyManager; class Encryption implements IEncryptionModule { const ID = 'OC_DEFAULT_MODULE'; + const DISPLAY_NAME = 'ownCloud Default Encryption'; /** * @var Crypt @@ -90,7 +91,7 @@ class Encryption implements IEncryptionModule { * @return string */ public function getDisplayName() { - return 'ownCloud Default Encryption'; + return self::DISPLAY_NAME; } /** |