This commit is contained in:
James Cole
2018-10-13 13:19:41 +02:00
parent 7cce6504e3
commit a5a012738e
6 changed files with 18 additions and 0 deletions

View File

@@ -45,6 +45,12 @@ class AutomationHandler
*/
public function reportJournals(RequestedReportOnJournals $event): bool
{
$sendReport = envNonEmpty('SEND_REPORT_JOURNALS', true);
if (false === $sendReport) {
return true;
}
Log::debug('In reportJournals.');
/** @var UserRepositoryInterface $repository */
$repository = app(UserRepositoryInterface::class);