app/code/community/Aoe/Profiler/controllers/Adminhtml/ProfilerController.php
public function deleteAction()
    {
        try {
            $stack = $this->_initStackInstance();
            if ($stack) {
                $stack->delete();
                $this->_getSession()->addSuccess( $this->__( 'The entry has been deleted.' ) );
            }
        } catch (Exception $e) {
            $this->_getSession()->addError($e->getMessage());
        }

        $this->_redirect('*/*/');
    }
public function deleteAction()
    {
        try {
            $stack = $this->_initStackInstance();
            if ($stack) {
                $stack->delete();
                $this->_getSession()->addSuccess( $this->__( 'The entry has been deleted.' ) );
            }
        } catch (Exception $e) {
            $this->_getSession()->addError($e->getMessage());
        }

        $this->_redirect('*/*/');
    }
public function deleteAction ( ) { try { $ stack = $ this -> _initStackInstance ( ) ; if ( $ stack ) { $ stack -> delete ( ) ; $ this -> _getSession ( ) -> addSuccess ( $ this -> __ ( 'The entry has been deleted.' ) ) ; } } catch ( Exception $ e ) { $ this -> _getSession ( ) -> addError ( $ e -> getMessage ( ) ) ; } $ this -> _redirect ( '*/*/' ) ; }
Delete the selected stack instance.

@return void
Delete the selected stack instance .