Skip to content
Snippets Groups Projects
Commit 3380bd65 authored by Björn Schießle's avatar Björn Schießle
Browse files

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

parent e9ce704f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment