Skip to content

Commit 1e52e46

Browse files
authored
Merge pull request #141 from pykettk/patch-1
Add Support for Table Prefixes
2 parents ddb6325 + c21cd6f commit 1e52e46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)