mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
disable visitor logging temporarily
This commit is contained in:
parent
d294da0882
commit
8a892cce6e
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ class Session
|
||||||
if (isset($ga_cid)) {
|
if (isset($ga_cid)) {
|
||||||
$site_visitor_id = key_exists(static::USER_ID, $_SESSION) ? $_SESSION[static::USER_ID] : $ga_cid;
|
$site_visitor_id = key_exists(static::USER_ID, $_SESSION) ? $_SESSION[static::USER_ID] : $ga_cid;
|
||||||
$site_visitor_id = isset($ga_cid) ? $ga_cid : $site_visitor_id;
|
$site_visitor_id = isset($ga_cid) ? $ga_cid : $site_visitor_id;
|
||||||
$response = LBRY::logWebVisitor(static::SITE_ID, $site_visitor_id, static::getClientIP());
|
//$response = LBRY::logWebVisitor(static::SITE_ID, $site_visitor_id, static::getClientIP());
|
||||||
|
$response = null;
|
||||||
if (!is_null($response)
|
if (!is_null($response)
|
||||||
&& key_exists('data', $response)
|
&& key_exists('data', $response)
|
||||||
&& key_exists('visitor_id', $response['data'])) {
|
&& key_exists('visitor_id', $response['data'])) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue