From 41e07a9ae28b9742de9a32b5a43a87ae9a5ffc32 Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Tue, 1 Sep 2020 08:32:53 +0000
Subject: [PATCH] Code cleanup

---
 src/Worker/Cron.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php
index 4a23e86f9b..cd6c2d39ec 100644
--- a/src/Worker/Cron.php
+++ b/src/Worker/Cron.php
@@ -54,7 +54,7 @@ class Cron
 		}
 
 		// Fork the cron jobs in separate parts to avoid problems when one of them is crashing
-		Hook::fork($a->queue['priority'], "cron");
+		Hook::fork($a->queue['priority'], 'cron');
 
 		// Poll contacts
 		Worker::add(PRIORITY_HIGH, 'PollContacts');
@@ -126,7 +126,5 @@ class Cron
 		Logger::notice('end');
 
 		DI::config()->set('system', 'last_cron', time());
-
-		return;
 	}
 }
-- 
2.39.5