Skip to content

Commit c21cd6f

Browse files
authored
Add Support for Table Prefixes
1 parent ddb6325 commit c21cd6f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ResourceModel/ImportData.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ protected function _construct()
3535
{
3636
if ($this->scopeConfig->isSetFlag('fastsimpleimport/database/import_temp_table')) {
3737
$this->getConnection()->createTemporaryTableLike(
38-
'importexport_importdata_tmp',
39-
'importexport_importdata',
38+
$this->_resources->getTableName('importexport_importdata_tmp'),
39+
$this->_resources->getTableName('importexport_importdata'),
4040
true
4141
);
42-
$this->_init('importexport_importdata_tmp', 'id');
42+
$this->_init($this->_resources->getTableName('importexport_importdata_tmp'), 'id');
4343
} else {
4444
parent::_construct();
4545
}

0 commit comments

Comments
 (0)