diff --git a/apps/contacts/photo.php b/apps/contacts/photo.php index 729c2dfbcfd285f284072a6a2168b569772e5da4..4660d61f6184dde98c1979c6fde1b4255bbf9059 100644 --- a/apps/contacts/photo.php +++ b/apps/contacts/photo.php @@ -14,7 +14,7 @@ OCP\User::checkLoggedIn(); OCP\App::checkAppEnabled('contacts'); function getStandardImage(){ - OCP\Response::setExpiresHeader('P10D'); + //OCP\Response::setExpiresHeader('P10D'); OCP\Response::enableCaching(); OCP\Response::redirect(OCP\Util::imagePath('contacts', 'person_large.png')); } diff --git a/apps/contacts/thumbnail.php b/apps/contacts/thumbnail.php index 5b340042a2503dc91a3b668a26c868a331d3e2b5..a64b09b6711acd35a4dd719ac55f56aab48c07f9 100644 --- a/apps/contacts/thumbnail.php +++ b/apps/contacts/thumbnail.php @@ -27,7 +27,7 @@ OCP\JSON::checkLoggedIn(); OCP\App::checkAppEnabled('contacts'); function getStandardImage(){ - OCP\Response::setExpiresHeader('P10D'); + //OCP\Response::setExpiresHeader('P10D'); OCP\Response::enableCaching(); OCP\Response::redirect(OCP\Util::imagePath('contacts', 'person.png')); }