Classes/Controller/Ajax/SitemapController.php
protected function executeDelete()
    {
        $uidList = $this->postVar['uidList'];
        $rootPid = (int)$this->postVar['pid'];

        $uidList = DatabaseUtility::connection()->cleanIntArray($uidList);

        if (empty($uidList) || empty($rootPid)) {

            throw new AjaxException(
                'message.warning.incomplete_data_received.message',
                '[0x4FBF3C11]',
                HttpUtility::HTTP_STATUS_BAD_REQUEST
            );
        }

        $where   = array();
        $where[] = 'page_rootpid = ' . (int)$rootPid;
        $where[] = DatabaseUtility::conditionIn('uid', $uidList);
        $where   = DatabaseUtility::buildCondition($where);

        $query = 'DELETE FROM tx_metaseo_sitemap
                         WHERE ' . $where;
        DatabaseUtility::exec($query);

        return array();
    }
protected function executeDelete()
    {
        $uidList = $this->postVar['uidList'];
        $rootPid = (int)$this->postVar['pid'];

        $uidList = DatabaseUtility::connection()->cleanIntArray($uidList);

        if (empty($uidList) || empty($rootPid)) {

            throw new AjaxException(
                'message.warning.incomplete_data_received.message',
                '[0x4FBF3C11]',
                HttpUtility::HTTP_STATUS_BAD_REQUEST
            );
        }

        $where   = array();
        $where[] = 'page_rootpid = ' . (int)$rootPid;
        $where[] = DatabaseUtility::conditionIn('uid', $uidList);
        $where   = DatabaseUtility::buildCondition($where);

        $query = 'DELETE FROM tx_metaseo_sitemap
                         WHERE ' . $where;
        DatabaseUtility::exec($query);

        return array();
    }
protected function executeDelete ( ) { $ uidList = $ this -> postVar [ 'uidList' ] ; $ rootPid = ( int ) $ this -> postVar [ 'pid' ] ; $ uidList = DatabaseUtility :: connection ( ) -> cleanIntArray ( $ uidList ) ; if ( empty ( $ uidList ) || empty ( $ rootPid ) ) { throw new AjaxException ( 'message.warning.incomplete_data_received.message' , '[0x4FBF3C11]' , HttpUtility :: HTTP_STATUS_BAD_REQUEST ) ; } $ where = array ( ) ; $ where [ ] = 'page_rootpid = ' . ( int ) $ rootPid ; $ where [ ] = DatabaseUtility :: conditionIn ( 'uid' , $ uidList ) ; $ where = DatabaseUtility :: buildCondition ( $ where ) ; $ query = 'DELETE FROM tx_metaseo_sitemap
                         WHERE ' . $ where ; DatabaseUtility :: exec ( $ query ) ; return array ( ) ; }
Delete sitemap entries

@return array

@throws AjaxException
Delete sitemap entries