diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-09-02 11:49:14 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2020-09-07 09:22:34 +0200 |
commit | a352a7c7f38d7b1e34caafbbd53ef1e2c28c1caa (patch) | |
tree | 5bbd84d6880b4fde2593fd82cfff5925f8e5ca81 /apps/user_status/lib/Service/JSDataService.php | |
parent | 16e1d1cb12229270d61d89dfda93399d056d456c (diff) | |
download | nextcloud-server-a352a7c7f38d7b1e34caafbbd53ef1e2c28c1caa.tar.gz nextcloud-server-a352a7c7f38d7b1e34caafbbd53ef1e2c28c1caa.zip |
Introduce consts for statuses
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/user_status/lib/Service/JSDataService.php')
-rw-r--r-- | apps/user_status/lib/Service/JSDataService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_status/lib/Service/JSDataService.php b/apps/user_status/lib/Service/JSDataService.php index ebe801cd57a..334ae248d4c 100644 --- a/apps/user_status/lib/Service/JSDataService.php +++ b/apps/user_status/lib/Service/JSDataService.php @@ -65,7 +65,7 @@ class JSDataService implements \JsonSerializable { 'messageIsPredefined' => false, 'icon' => null, 'clearAt' => null, - 'status' => 'offline', + 'status' => StatusService::OFFLINE, 'statusIsUserDefined' => false, ]; } |