From: Michael Date: Sun, 19 Nov 2017 19:47:04 +0000 (+0000) Subject: No german compound wording :-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=183999ee08b433bb12c7f3c7a76d297beca00bcc;p=friendica.git No german compound wording :-) --- diff --git a/mod/item.php b/mod/item.php index 0e2e657049..2fcaa6c3f2 100644 --- a/mod/item.php +++ b/mod/item.php @@ -1064,7 +1064,7 @@ function item_post(App $a) { // We now do it in the background to save some time. // This is important in interactive environments like the frontend or the API. // We don't fork a new process since this is done anyway with the following command - Worker::add(array('priority' => PRIORITY_HIGH, 'dont_fork' => true), "CreateShadowentry", $post_id); + Worker::add(array('priority' => PRIORITY_HIGH, 'dont_fork' => true), "CreateShadowEntry", $post_id); // Call the background process that is delivering the item to the receivers Worker::add(PRIORITY_HIGH, "Notifier", $notify_type, $post_id); diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 7d130c1e3a..9e69d4173a 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -923,7 +923,7 @@ class Worker { * * next args are passed as $cmd command line * or: Worker::add(PRIORITY_HIGH, "Notifier", "drop", $drop_id); - * or: Worker::add(array('priority' => PRIORITY_HIGH, 'dont_fork' => true), "CreateShadowentry", $post_id); + * or: Worker::add(array('priority' => PRIORITY_HIGH, 'dont_fork' => true), "CreateShadowEntry", $post_id); * * @note $cmd and string args are surrounded with "" * diff --git a/src/Worker/CreateShadowEntry.php b/src/Worker/CreateShadowEntry.php new file mode 100644 index 0000000000..cf95ec622c --- /dev/null +++ b/src/Worker/CreateShadowEntry.php @@ -0,0 +1,21 @@ +