summaryrefslogtreecommitdiffstats
path: root/apps/contacts/thumbnail.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-13 22:47:31 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-13 22:47:31 +0100
commit594dcf13f2d311ba2161e33effe6e297939e3595 (patch)
tree3a4e8447bd11014e795ae67c382ad62eba466a97 /apps/contacts/thumbnail.php
parent0fd5252cfc7c6d85d27bf1ec62fadbbc3267c0a1 (diff)
downloadnextcloud-server-594dcf13f2d311ba2161e33effe6e297939e3595.tar.gz
nextcloud-server-594dcf13f2d311ba2161e33effe6e297939e3595.zip
Contacts+OC_Respone: Move enableCaching out of setEtagHeader and setLastModifiedHeader
Diffstat (limited to 'apps/contacts/thumbnail.php')
-rw-r--r--apps/contacts/thumbnail.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/thumbnail.php b/apps/contacts/thumbnail.php
index c020c29ac8c..39da6bc2bf7 100644
--- a/apps/contacts/thumbnail.php
+++ b/apps/contacts/thumbnail.php
@@ -48,6 +48,7 @@ if(is_null($contact)){
getStandardImage();
exit();
}
+OC_Response::enableCaching();
OC_Contacts_App::setLastModifiedHeader($contact);
$thumbnail_size = 23;