]> git.mxchange.org Git - friendica.git/commitdiff
Code cleanup
authorMichael <heluecht@pirati.ca>
Tue, 1 Sep 2020 08:32:53 +0000 (08:32 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 1 Sep 2020 08:32:53 +0000 (08:32 +0000)
src/Worker/Cron.php

index 4a23e86f9b9effa9c06a46a297d072786679db23..cd6c2d39ecd75b05df90e8e16c48deae596a9562 100644 (file)
@@ -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;
        }
 }