tyteen4a03 Well-known member Jun 19, 2013 #1 Code: 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.
Code: 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.
Mike XenForo developer Staff member Jun 19, 2013 #2 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).
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).