]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker.php
Merge pull request #7355 from JeroenED/task/relationship-status2/no-dead-nodes
[friendica.git] / src / Core / Worker.php
index 0f4a527f6bd21aa95cb9f387ba1f29e5264aab73..8fdd60c2a74db95549ec4d3766b631b3f1020358 100644 (file)
@@ -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