diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-13 22:47:31 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-13 22:47:31 +0100 |
commit | 594dcf13f2d311ba2161e33effe6e297939e3595 (patch) | |
tree | 3a4e8447bd11014e795ae67c382ad62eba466a97 /apps/contacts/photo.php | |
parent | 0fd5252cfc7c6d85d27bf1ec62fadbbc3267c0a1 (diff) | |
download | nextcloud-server-594dcf13f2d311ba2161e33effe6e297939e3595.tar.gz nextcloud-server-594dcf13f2d311ba2161e33effe6e297939e3595.zip |
Contacts+OC_Respone: Move enableCaching out of setEtagHeader and setLastModifiedHeader
Diffstat (limited to 'apps/contacts/photo.php')
-rw-r--r-- | apps/contacts/photo.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/photo.php b/apps/contacts/photo.php index 314bce7cecc..8dfbcb6fb10 100644 --- a/apps/contacts/photo.php +++ b/apps/contacts/photo.php @@ -21,6 +21,7 @@ $image = new OC_Image(); if( is_null($contact)) { OC_Log::write('contacts','photo.php. The VCard for ID '.$id.' is not RFC compatible',OC_Log::ERROR); } else { + OC_Response::enableCaching(); OC_Contacts_App::setLastModifiedHeader($contact); // Photo :-) |