Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
shouldRefreshLog example
return
$result
;
}
/** * @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
)
;
}
}