• 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

tyteen4a03

Well-known member
#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.
 

Mike

XenForo developer
Staff member
#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).