Fixed Commented code in XenForo_ControllerPublic_Abstract

tyteen4a03

Well-known member
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.
 
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).
 
Back
Top Bottom