- Removed unused code

This commit is contained in:
mcndave committed 2023-11-15 22:13:57 -05:00
1 parent ad8cb45cdc
commit ea2e52728b
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ return [
CronardMiddleware::class => function($c) {
$cronardMiddleware = new CronardMiddleware($c, getenv('CRON_KEY'), function() : ResponseInterface {
return new HtmlResponse(sprintf("%s - cron task begin...", date('Y-m-d H:i:s')));
}, [], $c->get(TaskFetcher::class));
}, []);
return $cronardMiddleware->fromFile(getenv("META_PATH")."/crontab.php")->fromAnnotations($c->get(TaskFetcher::class));
},