]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Delay unprepared posts
[friendica.git] / src / Protocol / Feed.php
index a2e9daaa036ab31826aa4ac82991ec72e5cd173b..f674f7081512d252d19bbadfc9011745df91e838 100644 (file)
@@ -656,8 +656,7 @@ class Feed
                                }
                                $publish_at = date(DateTimeFormat::MYSQL, $publish_time);
 
-                               Post\Delayed::add($publish_at, $posting['item'], $posting['notify'], $posting['taglist'], $posting['attachments']);
-                               DI::pConfig()->set($item['uid'], 'system', 'last_publish', $next_publish);
+                               Post\Delayed::add($posting['item']['uri'], $posting['item'], $posting['notify'], false, $publish_at, $posting['taglist'], $posting['attachments']);
                        }
                }