mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:00:17 +00:00
No german compound wording :-)
This commit is contained in:
parent
8cd21269ff
commit
183999ee08
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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 ""
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Worker/CreateShadowentry.php
|
||||
* @file src/Worker/CreateShadowEntry.php
|
||||
* @brief This script creates posts with UID = 0 for a given public post.
|
||||
*
|
||||
* This script is started from mod/item.php to save some time when doing a post.
|
||||
|
@ -10,7 +10,7 @@ namespace Friendica\Worker;
|
|||
|
||||
require_once("include/threads.php");
|
||||
|
||||
class CreateShadowentry {
|
||||
class CreateShadowEntry {
|
||||
public static function execute($message_id = 0) {
|
||||
if (empty($message_id)) {
|
||||
return;
|
Loading…
Reference in a new issue