From c1b064c64375918fb0381737d2347640e4be2b07 Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Sun, 19 Nov 2017 22:00:43 +0000
Subject: [PATCH] Some more poller are noe a worker

---
 scripts/daemon.php | 6 +++---
 scripts/worker.php | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/daemon.php b/scripts/daemon.php
index 4accef3960..76668adb16 100644
--- a/scripts/daemon.php
+++ b/scripts/daemon.php
@@ -1,7 +1,7 @@
 <?php
 /**
  * @file util/daemon.php
- * @brief Run the poller from a daemon.
+ * @brief Run the worker from a daemon.
  *
  * This script was taken from http://php.net/manual/en/function.pcntl-fork.php
  */
@@ -90,8 +90,8 @@ while (true) {
 	// Just to be sure that this script really runs endlessly
 	set_time_limit(0);
 
-	// Call the poller
-	$cmdline = $php.' include/poller.php';
+	// Call the worker
+	$cmdline = $php.' scripts/worker.php';
 
 	exec($cmdline);
 
diff --git a/scripts/worker.php b/scripts/worker.php
index 6fcf4c7f41..61828956ae 100644
--- a/scripts/worker.php
+++ b/scripts/worker.php
@@ -3,7 +3,7 @@ use Friendica\App;
 use Friendica\Core\Worker;
 use Friendica\Core\Config;
 
-// Ensure that poller.php is executed from the base path of the installation
+// Ensure that worker.php is executed from the base path of the installation
 if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) {
 	$directory = dirname($_SERVER["argv"][0]);
 
-- 
2.39.5