aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-12-21 15:19:36 +0100
committerMax Kostikov <max@kostikov.co>2018-12-21 15:19:36 +0100
commit4bad4ec632b9fe6a5563bf8c92631ddf919ab0a6 (patch)
tree91d07050a9fcbc3f78a8895c317e10daf653d6e6
parent6cbdb1b4c3efab01dde14d95ffe28f27b50cac91 (diff)
parente34853e19ea10bde7a4dc2e585da3c26d7032bdb (diff)
downloadvolse-hubzilla-4bad4ec632b9fe6a5563bf8c92631ddf919ab0a6.tar.gz
volse-hubzilla-4bad4ec632b9fe6a5563bf8c92631ddf919ab0a6.tar.bz2
volse-hubzilla-4bad4ec632b9fe6a5563bf8c92631ddf919ab0a6.zip
Merge branch 'remove-legacy-photo-cache-prevention' into 'dev'
do not add timestamp to the photo src. caching is handled in mod photo now. See merge request hubzilla/core!1448
-rw-r--r--Zotlabs/Module/Photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index b87c586da..3833d5088 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -988,7 +988,7 @@ class Photos extends \Zotlabs\Web\Controller {
$photo = array(
'href' => z_root() . '/photo/' . $hires['resource_id'] . '-' . $hires['imgscale'] . '.' . $phototypes[$hires['mimetype']],
'title'=> t('View Full Size'),
- 'src' => z_root() . '/photo/' . $lores['resource_id'] . '-' . $lores['imgscale'] . '.' . $phototypes[$lores['mimetype']] . '?f=&_u=' . datetime_convert('','','','ymdhis')
+ 'src' => z_root() . '/photo/' . $lores['resource_id'] . '-' . $lores['imgscale'] . '.' . $phototypes[$lores['mimetype']]
);
if($nextlink)