diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-15 21:16:04 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-15 21:16:04 +0200 |
commit | e9d11a65e0747f241fe5488797bbed4c84d6025a (patch) | |
tree | c8948f90bda4b7001c7c68c5ab5c2dfd9705ef9c /core | |
parent | 4bc35286ffc49788236ea4828d0de733f8ee1446 (diff) | |
parent | fffef529ee60de1123f9fba11385a36697637dce (diff) | |
download | nextcloud-server-e9d11a65e0747f241fe5488797bbed4c84d6025a.tar.gz nextcloud-server-e9d11a65e0747f241fe5488797bbed4c84d6025a.zip |
Merge pull request #16944 from owncloud/fix-avatars
Reintroduce user cache
Diffstat (limited to 'core')
-rw-r--r-- | core/avatar/avatarcontroller.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/avatar/avatarcontroller.php b/core/avatar/avatarcontroller.php index 9eb7069166e..5ddd80c45af 100644 --- a/core/avatar/avatarcontroller.php +++ b/core/avatar/avatarcontroller.php @@ -209,8 +209,7 @@ class AvatarController extends Controller { $resp = new DataDisplayResponse($image->data(), Http::STATUS_OK, - ['Content-Type' => $image->mimeType(), - 'Pragma' => 'public']); + ['Content-Type' => $image->mimeType()]); $resp->setETag(crc32($image->data())); $resp->cacheFor(0); |