src/ShopBundle/objects/TCMSTableEditor/TCMSTableEditorShopOrderEndPoint.class.php
protected function DeleteExecute()
    {
        $oOrder = clone $this->oTable;
        $bReturn = parent::DeleteExecute();
        if (!empty($oOrder->sqlData['data_extranet_user_id'])) {
            $oTmpuser = TdbDataExtranetUser::GetNewInstance();
            $oTmpuser->Load($oOrder->sqlData['data_extranet_user_id']);
            if (!is_null($oTmpuser)) {
                TdbDataExtranetGroup::UpdateAutoAssignToUser($oTmpuser);
            }
        }

        return $bReturn;
    }
protected function DeleteExecute()
    {
        $oOrder = clone $this->oTable;
        $bReturn = parent::DeleteExecute();
        if (!empty($oOrder->sqlData['data_extranet_user_id'])) {
            $oTmpuser = TdbDataExtranetUser::GetNewInstance();
            $oTmpuser->Load($oOrder->sqlData['data_extranet_user_id']);
            if (!is_null($oTmpuser)) {
                TdbDataExtranetGroup::UpdateAutoAssignToUser($oTmpuser);
            }
        }

        return $bReturn;
    }
protected function DeleteExecute ( ) { $ oOrder = clone $ this -> oTable ; $ bReturn = parent :: DeleteExecute ( ) ; if ( ! empty ( $ oOrder -> sqlData [ 'data_extranet_user_id' ] ) ) { $ oTmpuser = TdbDataExtranetUser :: GetNewInstance ( ) ; $ oTmpuser -> Load ( $ oOrder -> sqlData [ 'data_extranet_user_id' ] ) ; if ( ! is_null ( $ oTmpuser ) ) { TdbDataExtranetGroup :: UpdateAutoAssignToUser ( $ oTmpuser ) ; } } return $ bReturn ; }
is called only from Delete method and calls all delete relevant methods
executes the final SQL Delete Query.
is called only from Delete method and calls all delete relevant methods executes the final SQL Delete Query .