]> source.dussan.org Git - nextcloud-server.git/commitdiff
avatars should also work with encryption after pr #5332 was merged
authorBjoern Schiessle <schiessle@owncloud.com>
Mon, 14 Oct 2013 15:30:24 +0000 (17:30 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 14 Oct 2013 15:30:24 +0000 (17:30 +0200)
lib/private/avatar.php

index f20980c364b0290c1b98f218d2997156732389d2..720740569df21f5ad5318187ea1b74ea34e1874b 100644 (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);