/** * Remove session data for user \a $userID. * @todo should use eZSession api (needs to be created) so * callbacks (like preference / basket..) is cleared as well. * * @params int $userID */ static function removeSessionData($userID) { eZUser::clearSessionCache(); eZSession::getHandlerInstance()->deleteByUserIDs(array($userID)); }