]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
same nested test removed
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 6 Oct 2014 15:44:20 +0000 (17:44 +0200)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 6 Oct 2014 15:44:20 +0000 (17:44 +0200)
web/Obj/user.phh

index 96706b83fa3fd8c7dfe533d569411baba4346d63..b3cbf51dd71cdf60de52b1f735bb21ead568108c 100644 (file)
@@ -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) { */