aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/cron/cron_task_base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/cron/cron_task_base.php b/phpBB/includes/cron/cron_task_base.php
index 2059794cec..1edb4aae51 100644
--- a/phpBB/includes/cron/cron_task_base.php
+++ b/phpBB/includes/cron/cron_task_base.php
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
exit;
}
-if (!class_exists('cron_task'))
+if (!interface_exists('cron_task'))
{
include($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
}