aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Mail
diff options
context:
space:
mode:
authorBennet Becker <dev@bennet.cc>2022-12-26 23:20:15 +0100
committerBennet Becker <dev@bennet.cc>2022-12-26 23:20:15 +0100
commit9d9a0b7e06f1a6879658d227a5f8bb4dfbdf056a (patch)
treec851235fee7137f01587f0cfb8ebdf38ed7ae8bb /lib/private/Mail
parent04c3c8794656f4b940eea74cdc00205a6595a682 (diff)
downloadnextcloud-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.php2
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;
}
}