From dfa01f9265313d83b3db27f3a5d6b8a350163aa0 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 22 Apr 2019 14:22:45 +0200 Subject: [PATCH] typo --- src/Worker/CronJobs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/CronJobs.php b/src/Worker/CronJobs.php index ad971c8f3..72d194808 100644 --- a/src/Worker/CronJobs.php +++ b/src/Worker/CronJobs.php @@ -48,7 +48,7 @@ class CronJobs Logger::info('cron_start'); Nodeinfo::update(); // Now trying to register - $url = 'http://the-federation.info/register/' . $app->getHostName(); + $url = 'http://the-federation.info/register/' . $a->getHostName(); Logger::debug('Check registering url', ['url' => $url]); $ret = Network::fetchUrl($url); Logger::debug('Check registering answer', ['answer' => $ret]);