aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/cron_task_wrapper.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2010-05-09 16:19:01 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-12 22:05:50 -0500
commit8cc2819610319a52fd093238377a54084ade0feb (patch)
treefa53c25685d2978102c86c604b5887f64b54cc03 /phpBB/includes/cron/cron_task_wrapper.php
parent72699b72fba7b4fb67874353c01c37b7ae4dfea5 (diff)
downloadforums-8cc2819610319a52fd093238377a54084ade0feb.tar
forums-8cc2819610319a52fd093238377a54084ade0feb.tar.gz
forums-8cc2819610319a52fd093238377a54084ade0feb.tar.bz2
forums-8cc2819610319a52fd093238377a54084ade0feb.tar.xz
forums-8cc2819610319a52fd093238377a54084ade0feb.zip
[feature/system-cron] Require cron task wrapper constructor to be a cron task.
PHPBB3-9596
Diffstat (limited to 'phpBB/includes/cron/cron_task_wrapper.php')
-rw-r--r--phpBB/includes/cron/cron_task_wrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/cron/cron_task_wrapper.php b/phpBB/includes/cron/cron_task_wrapper.php
index 00b330464e..c306b56193 100644
--- a/phpBB/includes/cron/cron_task_wrapper.php
+++ b/phpBB/includes/cron/cron_task_wrapper.php
@@ -33,7 +33,7 @@ class cron_task_wrapper
/**
* Wraps a task $task, which must implement cron_task interface.
*/
- public function __construct($task)
+ public function __construct(cron_task $task)
{
$this->task = $task;
}