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');
    }
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');
    }
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' ) ; }
Finishes module action
@param mixed $result
Finishes module action