From: Bjoern Schiessle Date: Mon, 14 Oct 2013 15:30:24 +0000 (+0200) Subject: avatars should also work with encryption after pr #5332 was merged X-Git-Tag: v6.0.0alpha2~1^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3380bd650f1c716fe25c750a5a1eadb2055c612a;p=nextcloud-server.git avatars should also work with encryption after pr #5332 was merged --- 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);