R
ragtek
Guest
I'd like to change the last_activity time frames in the cronjobs, but it's not possible without editing the file because it's a static method (or changing the cronjob in acp and run a own method, which is IMO also ugly
)
a getter method would probably also not work becuase of the static usage, but what about a option?
this could be overwriten by an add-on
promotion => 'last_activity' => array('>', XenForo_Application::$time - 86400 * 3)
trophy: 'last_activity' => array('>', XenForo_Application::$time - 86400)

a getter method would probably also not work becuase of the static usage, but what about a option?
this could be overwriten by an add-on
promotion => 'last_activity' => array('>', XenForo_Application::$time - 86400 * 3)
trophy: 'last_activity' => array('>', XenForo_Application::$time - 86400)
Upvote
0