From: Matteo Nastasi (mop) Date: Mon, 1 Jul 2013 16:49:50 +0000 (+0200) Subject: removed unused user field and add reset of flags_vlt in user reset method X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=0001273945441979c97a40ce77cfeb13897abff3;p=brisk.git removed unused user field and add reset of flags_vlt in user reset method --- diff --git a/web/Obj/user.phh b/web/Obj/user.phh index 87c93fb..bda7cd6 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -124,9 +124,8 @@ class User { var $table_pos; // idx on the table var $table_token;// token that identify a game on a table - var $flags_volat;// Bitfield of volatile flags var $flags; // Bitfield with: AUTHENTICATE: 0x02 - var $flags_vlt; // Volatile flags valid for this session only + var $flags_vlt; // Bitfield of volatile flags valid for this session only var $rec; // field with user db record or FALSE var $the_end; // Flag to change the end of the session @@ -521,6 +520,7 @@ class User { self::unproxy_step($tmp_sess); $this->name = ""; // OK here while (array_pop($this->comm) != NULL); + $this->flags_vlt = 0; $this->step = 0; $this->chattime = array_fill(0, CHAT_N, 0); $this->chat_cur = 0;