mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-03 20:14:31 +00:00
Clean up code.
This commit is contained in:
@@ -50,7 +50,7 @@ class ReturnsSettings
|
||||
'ntfy_pass' => '',
|
||||
|
||||
];
|
||||
if('user' === $type && null !== $user) {
|
||||
if ('user' === $type && null !== $user) {
|
||||
$settings['ntfy_server'] = Preferences::getEncryptedForUser($user, 'ntfy_server', 'https://ntfy.sh')->data;
|
||||
$settings['ntfy_topic'] = Preferences::getEncryptedForUser($user, 'ntfy_topic', '')->data;
|
||||
$settings['ntfy_auth'] = Preferences::getForUser($user, 'ntfy_auth', false)->data;
|
||||
|
||||
Reference in New Issue
Block a user