original_string: protected function finishActionModule($result)
      {
          if ($result === true) {
              $this->redirect('', $this->text('Module has been updated'), 'success');
          }
  
          $message = $result ? $result : $this->text('Operation unavailable');
          $this->redirect('', $message, 'danger');
      }
code: protected function finishActionModule($result)
      {
          if ($result === true) {
              $this->redirect('', $this->text('Module has been updated'), 'success');
          }
  
          $message = $result ? $result : $this->text('Operation unavailable');
          $this->redirect('', $message, 'danger');
      }
code_tokens: protected function finishActionModule ( $ result ) { if ( $ result === true ) { $ this -> redirect ( '' , $ this -> text ( 'Module has been updated' ) , 'success' ) ; } $ message = $ result ? $ result : $ this -> text ( 'Operation unavailable' ) ; $ this -> redirect ( '' , $ message , 'danger' ) ; }
docstring: Finishes module action
  @param mixed $result
docstring_tokens: Finishes module action