aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron/task
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-01 19:46:19 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-01 19:46:19 +0200
commit2b729c67bd46c3ee936717d2cf72890bc8a521ed (patch)
treeae50c5de783491ab6234e521bad9ac2761d7e872 /phpBB/phpbb/cron/task
parent404c2f11448f53e55eca4cfdf082671230711241 (diff)
downloadforums-2b729c67bd46c3ee936717d2cf72890bc8a521ed.tar
forums-2b729c67bd46c3ee936717d2cf72890bc8a521ed.tar.gz
forums-2b729c67bd46c3ee936717d2cf72890bc8a521ed.tar.bz2
forums-2b729c67bd46c3ee936717d2cf72890bc8a521ed.tar.xz
forums-2b729c67bd46c3ee936717d2cf72890bc8a521ed.zip
[ticket/12790] Use \phpbb\db\driver\driver_interface in prune_shadow_topics
PHPBB3-12790
Diffstat (limited to 'phpBB/phpbb/cron/task')
-rw-r--r--phpBB/phpbb/cron/task/core/prune_shadow_topics.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/cron/task/core/prune_shadow_topics.php b/phpBB/phpbb/cron/task/core/prune_shadow_topics.php
index 381483c798..83a2460454 100644
--- a/phpBB/phpbb/cron/task/core/prune_shadow_topics.php
+++ b/phpBB/phpbb/cron/task/core/prune_shadow_topics.php
@@ -45,11 +45,11 @@ class prune_shadow_topics extends \phpbb\cron\task\base implements \phpbb\cron\t
* @param string $phpbb_root_path The root path
* @param string $php_ext The PHP extension
* @param \phpbb\config\config $config The config
- * @param \phpbb\db\driver\driver $db The db connection
+ * @param \phpbb\db\driver\driver_interface $db The db connection
* @param \phpbb\log\log $log The phpBB log system
* @param \phpbb\user $user The phpBB user object
*/
- public function __construct($phpbb_root_path, $php_ext, \phpbb\config\config $config, \phpbb\db\driver\driver $db, \phpbb\log\log $log, \phpbb\user $user)
+ public function __construct($phpbb_root_path, $php_ext, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\log\log $log, \phpbb\user $user)
{
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;