Lack of interest Create getter methods for hardcoded last_activity time frames in cronjobs

  • Thread starter Thread starter ragtek
  • Start date Start date
This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.
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:p )

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
This suggestion has been closed. Votes are no longer accepted.
Top Bottom