From fc404a3ac3820257e88fd5198b4c440cb178fa1f Mon Sep 17 00:00:00 2001 From: Matteo Nastasi Date: Sun, 29 Mar 2020 20:23:37 +0200 Subject: [PATCH] some cleanup --- web/Obj/sac-a-push.phh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index cfebe20..77c3496 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -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; -- 2.17.1