avatars should also work with encryption after pr #5332 was merged

This commit is contained in:
Bjoern Schiessle 2013-10-14 17:30:24 +02:00
parent e9ce704f17
commit 3380bd650f
1 changed files with 0 additions and 4 deletions

View File

@ -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);