X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fuser.phh;h=6cdb1fe4753c5e5fc84912b5d5e1ee1df49c275e;hb=aa1fa37d0bd35d6f8d7b55ec1a6a92140f4ce9e0;hp=68b686da7759f598a80fcf430c9b0f7cc40555d3;hpb=706f411d26dee22befc679885d715dd620b674e5;p=brisk.git diff --git a/web/Obj/user.phh b/web/Obj/user.phh index 68b686d..6cdb1fe 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -751,19 +751,16 @@ class User { log_rd2("LOGOUT BYE BYE!!"); log_auth($this->sess, "Explicit logout."); - if ($this->the_end == TRUE) { - $this->reset(); - - 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) { ... */ + $this->reset(); + + 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->rd_step < $this->step) { */ } /* else of if ($this->rd_step == -1) { */