diff options
author | friendica <info@friendica.com> | 2014-08-12 21:51:32 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-08-12 21:51:32 -0700 |
commit | 041aff36b7feb4983a2cc5faed79e54863e06913 (patch) | |
tree | 468c6b21d51124d79ec6e9b70fc4fc7585d68b4d /util | |
parent | da982c6c9f64b160bcc8e56cfbb44e96b19d9beb (diff) | |
download | volse-hubzilla-041aff36b7feb4983a2cc5faed79e54863e06913.tar.gz volse-hubzilla-041aff36b7feb4983a2cc5faed79e54863e06913.tar.bz2 volse-hubzilla-041aff36b7feb4983a2cc5faed79e54863e06913.zip |
provide a way to preserve photo timestamps when importing (rather than uploading)
Diffstat (limited to 'util')
-rw-r--r-- | util/frphotohelper.php | 2 |
1 files changed, 2 insertions, 0 deletions
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']; |