[feature/system-cron] Updated prune forum task name in viewforum.

PHPBB3-9596
This commit is contained in:
Oleg Pudeyev 2010-05-09 16:03:18 -04:00
parent be087826b0
commit 72699b72fb

View file

@ -195,7 +195,7 @@ if ($forum_data['forum_topics_per_page'])
// Do the forum Prune thang - cron type job ... // Do the forum Prune thang - cron type job ...
if (!$config['use_system_cron']) if (!$config['use_system_cron'])
{ {
$task = $cron->instantiate_task('core_prune_forum', $forum_data); $task = $cron->instantiate_task('cron_task_core_prune_forum', $forum_data);
if ($task && $task->is_ready()) { if ($task && $task->is_ready()) {
$url = $task->get_url(); $url = $task->get_url();
$template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="cron" />'); $template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="cron" />');