]> git.mxchange.org Git - friendica.git/blobdiff - bin/daemon.php
Remove relocation form from Admin Site settings
[friendica.git] / bin / daemon.php
index c7a16a9e8d5b0952f732160ec1e63ad977ba291a..1682d366ede0ca16fd05c3ab8f0df7bd04b13a0a 100755 (executable)
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
  *
+ */
+
+/**
  * Run the worker from a daemon.
  *
  * This script was taken from http://php.net/manual/en/function.pcntl-fork.php
  */
-
 if (php_sapi_name() !== 'cli') {
        header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
        exit();
@@ -230,7 +232,7 @@ while (true) {
                }
 
                $timeout = ($seconds >= $wait_interval);
-       } while (!$timeout && !Worker::IPCJobsExists());
+       } while (!$timeout && !Worker\IPC::JobsExists());
 
        if ($timeout) {
                $do_cron = true;