mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[feature/system-cron] remove conditional includes in favour of autoloading
PHPBB3-9596
This commit is contained in:
committed by
Oleg Pudeyev
parent
1bfbcb8b7e
commit
c9bd1b392d
@@ -16,12 +16,6 @@ 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.
|
||||
|
Reference in New Issue
Block a user