src/Sulu/Bundle/WebsiteBundle/Controller/AnalyticsController.php
public function deleteAction($webspace, $id)
    {
        $this->get('sulu_website.analytics.manager')->remove($id);
        $this->get('doctrine.orm.entity_manager')->flush();
        $this->get('sulu_website.http_cache.clearer')->clear();

        return $this->handleView($this->view(null, 204));
    }
public function deleteAction($webspace, $id)
    {
        $this->get('sulu_website.analytics.manager')->remove($id);
        $this->get('doctrine.orm.entity_manager')->flush();
        $this->get('sulu_website.http_cache.clearer')->clear();

        return $this->handleView($this->view(null, 204));
    }
public function deleteAction ( $ webspace , $ id ) { $ this -> get ( 'sulu_website.analytics.manager' ) -> remove ( $ id ) ; $ this -> get ( 'doctrine.orm.entity_manager' ) -> flush ( ) ; $ this -> get ( 'sulu_website.http_cache.clearer' ) -> clear ( ) ; return $ this -> handleView ( $ this -> view ( null , 204 ) ) ; }
Removes given analytics.

@param string $webspace
@param int $id

@return Response
Removes given analytics .