From: Matteo Nastasi (mop) Date: Thu, 12 Dec 2013 06:17:10 +0000 (+0100) Subject: typo fixed in TOS management and some debugging log removed X-Git-Tag: v4.12.0~4 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=a986416b1b23aed3e6c92e8786c754a9f165abb9;p=brisk.git typo fixed in TOS management and some debugging log removed --- diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 4b12709..35196d0 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2363,7 +2363,6 @@ class Room // from the socket, waiting if necessary // - fprintf(STDERR, "\n\nDENTRO QUI\n\n"); ob_start(); index_wr_main($this, $addr, $get, $post, $cookie); $content = ob_get_contents(); diff --git a/web/Obj/dbase_pgsql.phh b/web/Obj/dbase_pgsql.phh index e744425..707409f 100644 --- a/web/Obj/dbase_pgsql.phh +++ b/web/Obj/dbase_pgsql.phh @@ -205,7 +205,7 @@ class BriskDB GLOBAL $G_dbpfx; $user_sql = sprintf("UPDATE %susers SET (tos_vers) = ('%s') WHERE code = %d;", - $G_dbpfx, escsql($toss_vers), $code); + $G_dbpfx, escsql($tos_vers), $code); fprintf(STDERR, "REQUEST [%s]\n", $user_sql); if ( ! (($user_pg = $this->query($user_sql)) != FALSE && pg_affected_rows($user_pg) == 1) ) { return FALSE; diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index 5a525bb..7292a7b 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -803,7 +803,6 @@ class Sac_a_push { if (!strncmp($path, SITE_PREFIX, SITE_PREFIX_LEN)) { $rret = $this->app->request_mgr($this, $header, $header_out, $new_socket, substr($path, SITE_PREFIX_LEN), $addr, $get, $post, $cookie); } - fprintf(STDERR, "\n\n DI QUI PASSA [%s]\n\n", $rret); if ($rret == FALSE) { // FIXME: manage 404 !!! printf("TODO: fix unknown page\n");