class tidy_plupload extends base
Cron task for cleaning plupload's temporary upload directory.
Methods
string |
get_name()
Returns the name of the task. |
from base |
set_name(string $name)
Sets the name of the task. |
from base | |
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. |
|
__construct(string $phpbb_root_path, config $config, log_interface $log, user $user)
Constructor. |
||
null |
run()
Runs this cron task. |
Details
in base at line 34
public string
get_name()
Returns the name of the task.
in base at line 44
public
set_name(string $name)
Sets the name of the task.
at line 114
public bool
is_runnable()
Returns whether this cron task can run, given current board configuration.
For example, a cron task that prunes forums can only run when forum pruning is enabled.
at line 122
public bool
should_run()
Returns whether this cron task should run now, because enough time has passed since it was last run.
at line 65
public
__construct(string $phpbb_root_path, config $config, log_interface $log, user $user)
Constructor.
at line 78
public null
run()
Runs this cron task.