From 562bbc885eaa79fb4de05e926d4c657263496c04 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Sun, 9 May 2010 13:33:52 -0400 Subject: [PATCH] [feature/system-cron] Use interface_exists to check for interface existence. PHPBB3-9596 --- phpBB/includes/cron/cron_task_base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }