• 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


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.


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).