Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Test helper functions for statistics. More...
Static Public Member Functions | |
static | run_pending_recalculation_tasks (bool $discardoutput=false) |
Run any ad-hoc recalculation tasks that have been scheduled. | |
Test helper functions for statistics.
|
static |
Run any ad-hoc recalculation tasks that have been scheduled.
We need a special function to do this as the tasks are deferred by one hour, so we need to pass a custom $timestart argument.
bool | $discardoutput | Capture and discard output from executed tasks? |
void |