mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Code for #1733
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user