X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FWorker.php;h=8fdd60c2a74db95549ec4d3766b631b3f1020358;hb=1f42f5135119facba5ec19d8f081d4deb24b9947;hp=0f4a527f6bd21aa95cb9f387ba1f29e5264aab73;hpb=09e03c92137ea89781aeb0adad6a1a599f7d617a;p=friendica.git diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 0f4a527f6b..8fdd60c2a7 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -983,7 +983,7 @@ class Worker } $url = System::baseUrl()."/worker"; - Network::fetchUrl($url, false, $redirects, 1); + Network::fetchUrl($url, false, 1); } /** @@ -1100,7 +1100,7 @@ class Worker * @param (integer|array) priority or parameter array, strings are deprecated and are ignored * * next args are passed as $cmd command line - * or: Worker::add(PRIORITY_HIGH, "Notifier", "drop", $drop_id); + * or: Worker::add(PRIORITY_HIGH, "Notifier", Delivery::DELETION, $drop_id); * or: Worker::add(array('priority' => PRIORITY_HIGH, 'dont_fork' => true), "CreateShadowEntry", $post_id); * * @return boolean "false" if proc_run couldn't be executed