original_string: protected function setUser()
      {
          $this->uid = $this->getParam('u', null);
  
          if (isset($this->uid)) {
  
              $this->current_user = $this->user->get($this->uid);
  
              if (empty($this->current_user['status'])) {
                  $this->errorAndExit($this->text('No access'));
              }
          }
      }
code: protected function setUser()
      {
          $this->uid = $this->getParam('u', null);
  
          if (isset($this->uid)) {
  
              $this->current_user = $this->user->get($this->uid);
  
              if (empty($this->current_user['status'])) {
                  $this->errorAndExit($this->text('No access'));
              }
          }
      }
code_tokens: protected function setUser ( ) { $ this -> uid = $ this -> getParam ( 'u' , null ) ; if ( isset ( $ this -> uid ) ) { $ this -> current_user = $ this -> user -> get ( $ this -> uid ) ; if ( empty ( $ this -> current_user [ 'status' ] ) ) { $ this -> errorAndExit ( $ this -> text ( 'No access' ) ) ; } } }
docstring: Sets the current user from the command using -u option
docstring_tokens: Sets the current user from the command using - u option