aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib/Service
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-05 21:23:38 +0200
committerAnna Larch <anna@nextcloud.com>2024-09-05 21:23:38 +0200
commit8af7ecb2576071f170ecbb0aa2311b26581e40e2 (patch)
tree9a8f3595cb28493368f78b0a049254d0a256b3c1 /apps/user_status/lib/Service
parent4566cf791d55f1202f4a1888b9cd23a7be0ed2c9 (diff)
downloadnextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.tar.gz
nextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.zip
chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/user_status/lib/Service')
-rw-r--r--apps/user_status/lib/Service/StatusService.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_status/lib/Service/StatusService.php b/apps/user_status/lib/Service/StatusService.php
index 2a761a0f304..9adc13e4dbf 100644
--- a/apps/user_status/lib/Service/StatusService.php
+++ b/apps/user_status/lib/Service/StatusService.php
@@ -499,10 +499,10 @@ class StatusService {
return;
}
// If there is a custom message, don't overwrite it
- if(empty($status->getCustomMessage())) {
+ if (empty($status->getCustomMessage())) {
$status->setCustomMessage($predefinedMessage['message']);
}
- if(empty($status->getCustomIcon())) {
+ if (empty($status->getCustomIcon())) {
$status->setCustomIcon($predefinedMessage['icon']);
}
}