1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Commented code in XenForo_ControllerPublic_Abstract

Discussion in 'Resolved Bug Reports' started by tyteen4a03, Jun 19, 2013.

  1. tyteen4a03

    tyteen4a03 Well-Known Member

    if (!$visitor['user_id']/* || $visitor['last_activity'] > XenForo_Application::$time - 1800*/)
    Not sure if leftover or accidentally commented, but the next line says: guest or we've been active recently, so let the cron do it.
  2. Mike

    Mike XenForo Developer Staff Member

    It's not a huge deal either way, but it's probably ok to add the second condition back in. It just prevents running it too often if sessions are being constantly created (which shouldn't happen much).
    tyteen4a03 likes this.

Share This Page