tidy_warnings
class tidy_warnings extends base
Tidy warnings cron task.
Will only run when warnings are configured to expire.
Properties
protected | $phpbb_root_path | ||
protected | $php_ext | ||
protected | $config |
Methods
bool
is_runnable()
Returns whether this cron task can run, given current board configuration.
bool
should_run()
Returns whether this cron task should run now, because enough time has passed since it was last run.
null
run()
Runs this cron task.
Details
in
base at line 34
string
get_name()
Returns the name of the task.
in
base at line 44
set_name(string $name)
Sets the name of the task.
at line 62
bool
is_runnable()
Returns whether this cron task can run, given current board configuration.
If warnings are set to never expire, this cron task will not run.
at line 76
bool
should_run()
Returns whether this cron task should run now, because enough time has passed since it was last run.
The interval between warnings tidying is specified in board configuration.
at line 34
__construct(string $phpbb_root_path, string $php_ext, config $config)
Constructor.
at line 46
null
run()
Runs this cron task.