cleanupStatistic example



    /** * @param Enlight_Controller_Request_Request $request * @param Enlight_Controller_Response_ResponseHttp $response * * @return void */
    public function updateLog($request$response)
    {
        if ($this->shouldRefreshLog($request)) {
            $this->cleanupStatistic();
            $this->refreshBasket($request);
            $this->refreshLog($request);
            $this->refreshReferer($request);
            $this->refreshArticleImpression($request);
            $this->refreshBlog($request);
            $this->refreshCurrentUsers($request);
            $this->refreshPartner($request$response);
        }
    }

    /** * @param Enlight_Controller_Request_Request $request * * @return void */
Home | Imprint | This part of the site doesn't use cookies.