How to make the Anonymous user wont be on the recent visits?

Comments

tonino66’s picture

I have changed the user_visits.module:

Line 21:

From:

  if ($op == 'view') {
    //Count view
    if ($user->uid != $account->uid) { 

To:

  if ($op == 'view') {
    //Count view
    if ($user->uid && $user->uid != $account->uid) {
sanduhrs’s picture

Assigned: Unassigned » sanduhrs
Status: Active » Fixed

Commited to HEAD.
Thanks.

sanduhrs’s picture

Commited to HEAD.
thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.