some cleanup
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 29 Mar 2020 18:23:37 +0000 (20:23 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 29 Mar 2020 18:23:37 +0000 (20:23 +0200)
web/Obj/sac-a-push.phh

index cfebe20..77c3496 100644 (file)
@@ -954,18 +954,6 @@ class Sac_a_push {
                                     fprintf(STDERR, "User associated with ID: %s not found\n", $id);
                                 }
 
-                                if (isset($this->s2u[$id])) {
-                                    $user = $this->s2u[$id];
-
-                                    fprintf(STDERR, 'POST USER');
-                                    if ($user && $user->rd_transp && strpos($user->rd_transp->type, "websocket") !== FALSE) {
-                                        fprintf(STDERR, "HERE WE ARE INCOMING DATA [%s]\n", $user->rd_transp->deframe($buf));
-
-                                    }
-                                }
-                                else {
-                                    fprintf(STDERR, "REC ID: %s\n", $id);
-                                }
                                 if (isset($this->s2p[$id])) {
                                     $this->s2p[$id]->rest -= mb_strlen($buf, "ASCII");
                                     $this->s2p[$id]->cont .= $buf;