- if ($this->the_end == TRUE) {
- log_rd2("LOGOUT BYE BYE!!");
- log_auth($this->sess, "Explicit logout.");
-
- if ($this->the_end == TRUE) {
- $this->reset();
-
- // FIXME !!!
- /* if ($this->subst == 'sitdown') { */
- /* log_load("ROOM WAKEUP"); */
- /* $this->room->room_wakeup($this); */
- /* } */
- /* else if ($this->subst == 'standup') */
- /* $this->room->room_outstandup($this); */
- /* else */
- /* log_rd2("LOGOUT FROM WHAT ???"); */
-
- } /* if ($this->the_end == TRUE) { ... */
- } /* if ($this->the_end == TRUE) { ... */
- } /* if ($cur_step < $this->step) { */
-
- /* Room::unlock_data($sem); */
- } /* else of if ($cur_step == -1) { */
+ // if ($this->the_end == TRUE) { management is moved
+ // in the spush scope
+ } /* if ($this->rd_step < $this->step) { */
+ } /* else of if ($this->rd_step == -1) { */