We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80db259 + 0a512b2 commit 50227dbCopy full SHA for 50227db
1 file changed
phpBB/cron.php
@@ -57,6 +57,18 @@ function output_image()
57
$task = $cron->find_task($cron_type);
58
if ($task)
59
{
60
+ /**
61
+ * This event enables you to catch the task before it runs
62
+ *
63
+ * @event core.cron_run_before
64
+ * @var \phpbb\cron\task\wrapper task Current Cron task
65
+ * @since 3.1.8-RC1
66
+ */
67
+ $vars = array(
68
+ 'task',
69
+ );
70
+ extract($phpbb_dispatcher->trigger_event('core.cron_run_before', compact($vars)));
71
+
72
if ($task->is_parametrized())
73
74
$task->parse_parameters($request);
0 commit comments