From 041aff36b7feb4983a2cc5faed79e54863e06913 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 12 Aug 2014 21:51:32 -0700 Subject: provide a way to preserve photo timestamps when importing (rather than uploading) --- util/frphotohelper.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') diff --git a/util/frphotohelper.php b/util/frphotohelper.php index 3ff3ae465..e8477b096 100644 --- a/util/frphotohelper.php +++ b/util/frphotohelper.php @@ -47,6 +47,8 @@ $cookies = 'store/[data]/frphoto_cookie_' . $channel_address; $args['scale'] = $j['scale']; $args['album'] = $j['album']; $args['not_visible'] = 1; + $args['created'] = $j['created']; + $args['edited'] = $j['edited']; if($j['allow_cid'] || $j['allow_gid'] || $j['deny_cid'] || $j['deny_gid']) $args['contact_allow'] = $channel['channel_hash']; -- cgit v1.2.3