• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

R

ragtek

Guest
#1
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)