Commit 8010d2a7 authored by MBoretto's avatar MBoretto

fix phpcs

parent c7054a3f
...@@ -511,10 +511,10 @@ class DB ...@@ -511,10 +511,10 @@ class DB
} }
if ($new_chat_participant) { if ($new_chat_participant) {
//Insert the new chat user //Insert the new chat user
self::insertUser($new_chat_participant, $date, $chat); self::insertUser($new_chat_participant, $date, $chat);
$new_chat_participant = $new_chat_participant->getId(); $new_chat_participant = $new_chat_participant->getId();
} elseif($left_chat_participant) { } elseif ($left_chat_participant) {
//Insert the left chat user //Insert the left chat user
self::insertUser($left_chat_participant, $date, $chat); self::insertUser($left_chat_participant, $date, $chat);
$left_chat_participant = $left_chat_participant->getId(); $left_chat_participant = $left_chat_participant->getId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment