$this->
refreshPartner($request,
$response);
} } /**
* @param Enlight_Controller_Request_Request $request
*
* @return void
*/
public function refreshBasket(Enlight_Controller_Request_RequestHttp
$request) { $currentController =
$request->
getParam('requestController',
$request->
getControllerName());
$sessionId =
(string) $request->
getSession()->
getId();
if (!
empty($currentController) && !
empty($sessionId)) { $userId =
(int) $request->
getSession()->
get('sUserId'
);
$userAgent =
(string) $request->
getServer('HTTP_USER_AGENT'
);
$sql = '
UPDATE s_order_basket
SET lastviewport = ?,
useragent = ?,
userID = ?
WHERE sessionID=?
';