Skip to content

Commit

Permalink
do not update user last visit when save to history is false
Browse files Browse the repository at this point in the history
  • Loading branch information
modus75 committed Aug 25, 2016
1 parent 5ab16f0 commit dc05d35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/MultiView.class.php
Expand Up @@ -226,7 +226,9 @@ public function user_init()
}
if ($this->data['no_history'])
{
add_event_handler('pwg_log_allowed', create_function('', 'return false;'));
$ret_false = create_function('', 'return false;');
add_event_handler('pwg_log_allowed', $ret_false);
add_event_handler('pwg_log_update_last_visit', $ret_false);
}

$this->save();
Expand Down

0 comments on commit dc05d35

Please sign in to comment.