]> git.mxchange.org Git - friendica.git/commitdiff
New function
authorAdam Magness <adam.magness@gmail.com>
Sun, 19 Nov 2017 22:33:07 +0000 (17:33 -0500)
committerAdam Magness <adam.magness@gmail.com>
Mon, 20 Nov 2017 16:01:32 +0000 (11:01 -0500)
new function from recent develop branch merge

src/Core/Worker.php

index 2417af55444401c930a1106bcccea1655d538cc3..7dcdf4e8868bd7e9351e1a8e0e32a96b0f78be13 100644 (file)
@@ -969,7 +969,11 @@ class Worker
                self::killStaleWorkers();
        }
 
-       public static function spawnWorker() {
+       /**
+        * @return void
+        */
+       public static function spawnWorker()
+       {
                $args = array("scripts/worker.php", "no_cron");
                get_app()->proc_run($args);
        }