diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-05-18 13:09:36 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-05-18 15:43:53 +0200 |
commit | 76761662547f5ac945f9103e290ad0b19e3d9d10 (patch) | |
tree | cb44fbd9481bd35b841f57acbcc46b43575950bf /apps/encryption/lib/crypto | |
parent | a1e60e78823d0f00681db0a6dc62a5a157b302f4 (diff) | |
download | nextcloud-server-76761662547f5ac945f9103e290ad0b19e3d9d10.tar.gz nextcloud-server-76761662547f5ac945f9103e290ad0b19e3d9d10.zip |
add l10n to constructor
Diffstat (limited to 'apps/encryption/lib/crypto')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index c060bb04e53..83ed1b59c8a 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -29,6 +29,7 @@ use OCA\Encryption\Exceptions\PublicKeyMissingException; use OCA\Encryption\Util; use OCP\Encryption\IEncryptionModule; use OCA\Encryption\KeyManager; +use OCP\IL10N; use OCP\ILogger; class Encryption implements IEncryptionModule { @@ -68,25 +69,30 @@ class Encryption implements IEncryptionModule { /** @var Util */ private $util; - /** @var ILogger */ private $logger; + /** @var IL10N */ + private $l; + /** * * @param Crypt $crypt * @param KeyManager $keyManager * @param Util $util * @param ILogger $logger + * @param IL10N $il10n */ public function __construct(Crypt $crypt, KeyManager $keyManager, Util $util, - ILogger $logger) { + ILogger $logger, + IL10N $il10n) { $this->crypt = $crypt; $this->keyManager = $keyManager; $this->util = $util; $this->logger = $logger; + $this->l = $il10n; } /** |