3 * @file src/Worker/CreateShadowEntry.php
4 * @brief This script creates posts with UID = 0 for a given public post.
6 * This script is started from mod/item.php to save some time when doing a post.
9 namespace Friendica\Worker;
11 use Friendica\Model\Item;
13 class CreateShadowEntry {
14 public static function execute($message_id = 0) {
15 if (empty($message_id)) {
19 Item::addShadowPost($message_id);