Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-14 19:30:24 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-14 19:30:24 +0400
commit3380bd650f1c716fe25c750a5a1eadb2055c612a (patch)
treefe1190455ca9d9dc8995f3800294e8395af54ccf /lib/private/avatar.php
parente9ce704f17663906aa8ab4da5145c61eb527e662 (diff)
avatars should also work with encryption after pr #5332 was merged
Diffstat (limited to 'lib/private/avatar.php')
-rw-r--r--lib/private/avatar.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/avatar.php b/lib/private/avatar.php
index f20980c364b..720740569df 100644
--- a/lib/private/avatar.php
+++ b/lib/private/avatar.php
@@ -51,10 +51,6 @@ class OC_Avatar {
* @return void
*/
public function set ($data) {
- if (\OC_App::isEnabled('files_encryption')) {
- $l = \OC_L10N::get('lib');
- throw new \Exception($l->t("Custom profile pictures don't work with encryption yet"));
- }
$img = new OC_Image($data);
$type = substr($img->mimeType(), -3);