aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-11-19 10:44:41 +0100
committerMario <mario@mariovavti.com>2018-11-19 10:44:41 +0100
commitf34af496ec82555a0e070e91260dc6edb17f2d5a (patch)
treeb7c24bd29c5640809473303bcf8315c56fac5966
parentc3f1aae5709db636b48cfb0cf779353394e82a69 (diff)
parent3787c490d4fe9c6beda393580e4ee8ad8f7cd6dc (diff)
downloadvolse-hubzilla-f34af496ec82555a0e070e91260dc6edb17f2d5a.tar.gz
volse-hubzilla-f34af496ec82555a0e070e91260dc6edb17f2d5a.tar.bz2
volse-hubzilla-f34af496ec82555a0e070e91260dc6edb17f2d5a.zip
Merge branch 'patch-20181118a' into 'dev'
Patch 20181118a - fix delayed publication of posts See merge request hubzilla/core!1398
-rwxr-xr-xinclude/items.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 2baad3d04..8268d3fe7 100755
--- a/include/items.php
+++ b/include/items.php
@@ -618,8 +618,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();