Преглед изворни кода

A hook to allow include files during scheduled tasks

Signed-off-by: emanuele <[email protected]>
emanuele пре 12 година
родитељ
комит
435e5e104c
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      Sources/ScheduledTasks.php

+ 2 - 0
Sources/ScheduledTasks.php

@@ -28,6 +28,8 @@ function AutoTask()
 		ReduceMailQueue();
 	else
 	{
+		call_integration_hook('integrate_autotask_include');
+
 		// Select the next task to do.
 		$request = $smcFunc['db_query']('', '
 			SELECT id_task, task, next_time, time_offset, time_regularity, time_unit