From: Matteo Nastasi (mop) Date: Mon, 6 Oct 2014 15:44:20 +0000 (+0200) Subject: same nested test removed X-Git-Tag: v4.15.0~6 X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=30c8a92f332c389465d6168c2bb31f7af7933b4d same nested test removed --- diff --git a/web/Obj/user.phh b/web/Obj/user.phh index 96706b8..b3cbf51 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -749,19 +749,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) { */