public function update_onDelete($recordId = null)
    {
        $model = $this->formFindModelObject($recordId);

        $model->forceDelete();

        Flash::success(Lang::get('backend::lang.form.delete_success'));

        if ($redirect = $this->makeRedirect('delete', $model)) {
            return $redirect;
        }
    }
public function update_onDelete($recordId = null)
    {
        $model = $this->formFindModelObject($recordId);

        $model->forceDelete();

        Flash::success(Lang::get('backend::lang.form.delete_success'));

        if ($redirect = $this->makeRedirect('delete', $model)) {
            return $redirect;
        }
    }
public function update_onDelete ( $ recordId = null ) { $ model = $ this -> formFindModelObject ( $ recordId ) ; $ model -> forceDelete ( ) ; Flash :: success ( Lang :: get ( 'backend::lang.form.delete_success' ) ) ; if ( $ redirect = $ this -> makeRedirect ( 'delete' , $ model ) ) { return $ redirect ; } }
Force delete a user.
Force delete a user .