diff options
author | Bennet Becker <dev@bennet.cc> | 2022-12-26 23:20:15 +0100 |
---|---|---|
committer | Bennet Becker <dev@bennet.cc> | 2022-12-26 23:20:15 +0100 |
commit | 9d9a0b7e06f1a6879658d227a5f8bb4dfbdf056a (patch) | |
tree | c851235fee7137f01587f0cfb8ebdf38ed7ae8bb /lib/private/Mail | |
parent | 04c3c8794656f4b940eea74cdc00205a6595a682 (diff) | |
download | nextcloud-server-9d9a0b7e06f1a6879658d227a5f8bb4dfbdf056a.tar.gz nextcloud-server-9d9a0b7e06f1a6879658d227a5f8bb4dfbdf056a.zip |
use constant as default value in value getter
Signed-off-by: Bennet Becker <dev@bennet.cc>
Diffstat (limited to 'lib/private/Mail')
-rw-r--r-- | lib/private/Mail/Message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Mail/Message.php b/lib/private/Mail/Message.php index 417b64d0f3a..cf69d9cb3ef 100644 --- a/lib/private/Mail/Message.php +++ b/lib/private/Mail/Message.php @@ -337,6 +337,6 @@ class Message implements IMessage { $headers = $this->swiftMessage->getHeaders(); return $headers->has('Auto-Submitted') ? - $headers->get('Auto-Submitted')->toString() : "no"; + $headers->get('Auto-Submitted')->toString() : AutoSubmittedValue::NO; } } |