diff options
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index 0fb6f257f31..29fda09e87f 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -179,8 +179,10 @@ class Encryption implements IEncryptionModule { try { $publicKeys[$uid] = $this->keyManager->getPublicKey($uid); } catch (PublicKeyMissingException $e) { - $this->logger->warning('no public key found for user \'' . $uid . - '\', user will not be able to read the file', array('app' => 'encryption')); + $this->logger->warning( + 'no public key found for user "{uid}", user will not be able to read the file', + ['app' => 'encryption', 'uid' => $uid] + ); // if the public key of the owner is missing we should fail if ($uid === $this->user) { throw $e; |