mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15342] Fix test
PHPBB3-15342
This commit is contained in:
@@ -30,7 +30,7 @@ class storage_track extends \phpbb\db\migration\migration
|
||||
{
|
||||
return array(
|
||||
'add_tables' => array(
|
||||
STORAGE_TABLE => array(
|
||||
$this->table_prefix . 'storage' => array(
|
||||
'COLUMNS' => array(
|
||||
'file_id' => array('UINT', null, 'auto_increment'),
|
||||
'file_path' => array('VCHAR', ''),
|
||||
@@ -93,7 +93,7 @@ class storage_track extends \phpbb\db\migration\migration
|
||||
{
|
||||
$storage->track_file($row['physical_filename']);
|
||||
|
||||
if($row['thumbnail'] == 1)
|
||||
if ($row['thumbnail'] == 1)
|
||||
{
|
||||
$storage->track_file('thumb_' . $row['physical_filename']);
|
||||
}
|
||||
|
@@ -55,10 +55,11 @@ class storage
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param \phpbb\cache\driver\driver_interface $db
|
||||
* @param \phpbb\db\driver\driver_interface $db
|
||||
* @param \phpbb\cache\driver\driver_interface $cache
|
||||
* @param \phpbb\storage\adapter_factory $factory
|
||||
* @param string $storage_name
|
||||
* @param string $storage_table
|
||||
*/
|
||||
public function __construct(db $db, cache $cache, adapter_factory $factory, $storage_name, $storage_table)
|
||||
{
|
||||
|
Reference in New Issue
Block a user