From 786c1fcd58a023eb0029971547fa894c71134410 Mon Sep 17 00:00:00 2001 From: JC5 Date: Thu, 3 Apr 2025 10:30:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Auto=20commit=20for=20release=20?= =?UTF-8?q?'develop'=20on=202025-04-03?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Notifications/Security/UserFailedLoginAttempt.php | 2 +- app/Notifications/Test/OwnerTestNotificationEmail.php | 2 +- app/Notifications/Test/UserTestNotificationEmail.php | 2 +- app/Notifications/User/NewAccessToken.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Notifications/Security/UserFailedLoginAttempt.php b/app/Notifications/Security/UserFailedLoginAttempt.php index 1434807ee0..c8eb674d30 100644 --- a/app/Notifications/Security/UserFailedLoginAttempt.php +++ b/app/Notifications/Security/UserFailedLoginAttempt.php @@ -105,7 +105,7 @@ class UserFailedLoginAttempt extends Notification public function via(User $notifiable): array { $channels = ReturnsAvailableChannels::returnChannels('user', $notifiable); - $isDemoSite = FireflyConfig::get('is_demo_site',false)->data; + $isDemoSite = FireflyConfig::get('is_demo_site', false)->data; if (true === $isDemoSite) { return array_diff($channels, ['mail']); } diff --git a/app/Notifications/Test/OwnerTestNotificationEmail.php b/app/Notifications/Test/OwnerTestNotificationEmail.php index cbda8653b7..e80cb6e923 100644 --- a/app/Notifications/Test/OwnerTestNotificationEmail.php +++ b/app/Notifications/Test/OwnerTestNotificationEmail.php @@ -64,7 +64,7 @@ class OwnerTestNotificationEmail extends Notification */ public function via(OwnerNotifiable $notifiable): array { - $isDemoSite = FireflyConfig::get('is_demo_site',false)->data; + $isDemoSite = FireflyConfig::get('is_demo_site', false)->data; if (true === $isDemoSite) { return []; } diff --git a/app/Notifications/Test/UserTestNotificationEmail.php b/app/Notifications/Test/UserTestNotificationEmail.php index bd4f31dc9d..35f5836dbf 100644 --- a/app/Notifications/Test/UserTestNotificationEmail.php +++ b/app/Notifications/Test/UserTestNotificationEmail.php @@ -61,7 +61,7 @@ class UserTestNotificationEmail extends Notification */ public function via(User $notifiable): array { - $isDemoSite = FireflyConfig::get('is_demo_site',false)->data; + $isDemoSite = FireflyConfig::get('is_demo_site', false)->data; if (true === $isDemoSite) { return []; } diff --git a/app/Notifications/User/NewAccessToken.php b/app/Notifications/User/NewAccessToken.php index f1e82953a1..f614c12bd9 100644 --- a/app/Notifications/User/NewAccessToken.php +++ b/app/Notifications/User/NewAccessToken.php @@ -103,7 +103,7 @@ class NewAccessToken extends Notification public function via(User $notifiable): array { $channels = ReturnsAvailableChannels::returnChannels('user', $notifiable); - $isDemoSite = FireflyConfig::get('is_demo_site',false)->data; + $isDemoSite = FireflyConfig::get('is_demo_site', false)->data; if (true === $isDemoSite) { return array_diff($channels, ['mail']); }