From 92c278d39a5db7ea296c86b3a70a28b99b16ec5e Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Thu, 13 Jan 2011 03:30:38 +0100 Subject: [PATCH] [feature/system-cron] Remove an unecessary assignment and an unecessary comment PHPBB3-9596 --- phpBB/includes/cron/manager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/phpBB/includes/cron/manager.php b/phpBB/includes/cron/manager.php index aa09fb41ac..d954775956 100644 --- a/phpBB/includes/cron/manager.php +++ b/phpBB/includes/cron/manager.php @@ -77,8 +77,6 @@ class phpbb_cron_manager * $name is the name of the cron task. * Cron task is expected to be a class named phpbb_cron_task_${mod}_${name}. * - * Todo: consider caching found task file list in global cache. - * * @return array List of task names */ public function find_cron_task_names() @@ -116,7 +114,7 @@ class phpbb_cron_manager if ($this->cache) { - $this->cache->put('_cron_tasks', $task_names, $ttl = 3600); + $this->cache->put('_cron_tasks', $task_names, 3600); } return $task_names;