source/Application/Controller/Admin/AdminListController.php
public function deleteEntry()
    {
        $delete = oxNew($this->_sListClass);

        //disabling deletion for derived items
        if ($delete->isDerived()) {
            return;
        }

        $blDelete = $delete->delete($this->getEditObjectId());

        // #A - we must reset object ID
        if ($blDelete && isset($_POST['oxid'])) {
            $_POST['oxid'] = -1;
        }

        $this->resetContentCache();

        $this->init();
    }
public function deleteEntry()
    {
        $delete = oxNew($this->_sListClass);

        //disabling deletion for derived items
        if ($delete->isDerived()) {
            return;
        }

        $blDelete = $delete->delete($this->getEditObjectId());

        // #A - we must reset object ID
        if ($blDelete && isset($_POST['oxid'])) {
            $_POST['oxid'] = -1;
        }

        $this->resetContentCache();

        $this->init();
    }
public function deleteEntry ( ) { $ delete = oxNew ( $ this -> _sListClass ) ; //disabling deletion for derived items if ( $ delete -> isDerived ( ) ) { return ; } $ blDelete = $ delete -> delete ( $ this -> getEditObjectId ( ) ) ; // #A - we must reset object ID if ( $ blDelete && isset ( $ _POST [ 'oxid' ] ) ) { $ _POST [ 'oxid' ] = - 1 ; } $ this -> resetContentCache ( ) ; $ this -> init ( ) ; }
Deletes this entry from the database

@return null
Deletes this entry from the database