From 259b6ac2c1c1268728231b3417452e69c1d35064 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Wed, 3 Jun 2015 14:56:18 +0200 Subject: Fixing grammar - refs https://www.transifex.com/projects/p/owncloud/translate/#en_GB/lib/50330746 --- lib/private/encryption/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/encryption/manager.php b/lib/private/encryption/manager.php index eeddea26b1a..7a751956cfa 100644 --- a/lib/private/encryption/manager.php +++ b/lib/private/encryption/manager.php @@ -152,7 +152,7 @@ class Manager implements IManager { return call_user_func($this->encryptionModules[$moduleId]['callback']); } else { $message = "Module with id: $moduleId does not exists."; - $hint = $this->l->t('Module with id: %s does not exists. Please enable it in your apps settings or contact your administrator.', [$moduleId]); + $hint = $this->l->t('Module with id: %s does not exist. Please enable it in your apps settings or contact your administrator.', [$moduleId]); throw new Exceptions\ModuleDoesNotExistsException($message, $hint); } } else { -- cgit v1.2.3 From 5dc5b7f86df5ac4943a4e8cd66e93d559d9bf6ca Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Wed, 3 Jun 2015 15:00:56 +0200 Subject: Catch NotFoundException and return no quota information which simply reflects the current state - no file storage has been initialized for the user. --- lib/private/encryption/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/encryption/manager.php b/lib/private/encryption/manager.php index 7a751956cfa..4841533cac1 100644 --- a/lib/private/encryption/manager.php +++ b/lib/private/encryption/manager.php @@ -151,7 +151,7 @@ class Manager implements IManager { if (isset($this->encryptionModules[$moduleId])) { return call_user_func($this->encryptionModules[$moduleId]['callback']); } else { - $message = "Module with id: $moduleId does not exists."; + $message = "Module with id: $moduleId does not exist."; $hint = $this->l->t('Module with id: %s does not exist. Please enable it in your apps settings or contact your administrator.', [$moduleId]); throw new Exceptions\ModuleDoesNotExistsException($message, $hint); } -- cgit v1.2.3