diff options
author | Mario <mario@mariovavti.com> | 2018-11-19 09:44:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-11-19 10:45:01 +0100 |
commit | 7be1d9e45aa054a7ffa79220f24db95c006e44e8 (patch) | |
tree | 216d688572c29642a6d3458fa3a27a482865a8eb | |
parent | ae97649948b8af575441e5a1f5b69db9f627a0e2 (diff) | |
download | volse-hubzilla-7be1d9e45aa054a7ffa79220f24db95c006e44e8.tar.gz volse-hubzilla-7be1d9e45aa054a7ffa79220f24db95c006e44e8.tar.bz2 volse-hubzilla-7be1d9e45aa054a7ffa79220f24db95c006e44e8.zip |
Merge branch 'patch-20181118a' into 'dev'
Patch 20181118a - fix delayed publication of posts
See merge request hubzilla/core!1398
(cherry picked from commit f34af496ec82555a0e070e91260dc6edb17f2d5a)
3787c490 Fix: delayed items propagate before publication on cloned channels
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index cae380b01..d8a9e8e56 100755 --- a/include/items.php +++ b/include/items.php @@ -608,8 +608,6 @@ function get_item_elements($x,$allow_code = false) { $arr['created'] = datetime_convert('UTC','UTC',$x['created']); $arr['edited'] = datetime_convert('UTC','UTC',$x['edited']); - if($arr['created'] > datetime_convert()) - $arr['created'] = datetime_convert(); if($arr['edited'] > datetime_convert()) $arr['edited'] = datetime_convert(); |