aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/cron_task_wrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/cron/cron_task_wrapper.php')
-rw-r--r--phpBB/includes/cron/cron_task_wrapper.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/cron/cron_task_wrapper.php b/phpBB/includes/cron/cron_task_wrapper.php
index 0e63000846..00b330464e 100644
--- a/phpBB/includes/cron/cron_task_wrapper.php
+++ b/phpBB/includes/cron/cron_task_wrapper.php
@@ -16,6 +16,12 @@ if (!defined('IN_PHPBB'))
exit;
}
+// We use parametrized_cron_task in is_parametrized
+if (!interface_exists('cron_task'))
+{
+ include($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
+}
+
/**
* Cron task wrapper class.
* Enhances cron tasks with convenience methods that work identically for all tasks.