mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Better mute
This commit is contained in:
@@ -64,7 +64,7 @@ class OwnerTestNotificationEmail extends Notification
|
||||
*/
|
||||
public function via(OwnerNotifiable $notifiable): array
|
||||
{
|
||||
$isDemoSite = FireflyConfig::get('is_demo_site');
|
||||
$isDemoSite = FireflyConfig::get('is_demo_site',false)->data
|
||||
if (true === $isDemoSite) {
|
||||
return [];
|
||||
}
|
||||
|
@@ -61,7 +61,7 @@ class UserTestNotificationEmail extends Notification
|
||||
*/
|
||||
public function via(User $notifiable): array
|
||||
{
|
||||
$isDemoSite = FireflyConfig::get('is_demo_site');
|
||||
$isDemoSite = FireflyConfig::get('is_demo_site',false)->data
|
||||
if (true === $isDemoSite) {
|
||||
return [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user