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

        if (empty($rootPid)) {

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

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

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

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

        if (empty($rootPid)) {

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

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

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

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

@return array

@throws AjaxException
Delete all sitemap entries