mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Merge origin/master
Conflicts: objects/functions.php
This commit is contained in:
commit
f34ed76517
16 changed files with 1901 additions and 1147 deletions
|
@ -113,6 +113,9 @@ class Message implements MessageComponentInterface {
|
|||
public function onClose(ConnectionInterface $conn) {
|
||||
global $onMessageSentTo, $SocketGetTotals;
|
||||
$client = dbGetRowFromResourcesId($conn->resourceId);
|
||||
if(empty($client)){
|
||||
$client = array('users_id'=>0);
|
||||
}
|
||||
_log_message("onClose {$conn->resourceId} before deleted");
|
||||
dbDeleteConnection($conn->resourceId);
|
||||
_log_message("onClose {$conn->resourceId} has deleted");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue