mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Restructure code to rename a variable.
This commit is contained in:
@@ -49,10 +49,12 @@ class AutomationHandler
|
||||
$user = $repository->findNull($event->userId);
|
||||
if (null === $user) {
|
||||
Log::debug('User is NULL');
|
||||
|
||||
return true;
|
||||
}
|
||||
if ($event->journals->count() === 0) {
|
||||
Log::debug('No journals.');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user