Skip to content

Commit b55fbc3

Browse files
authored
Update app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php
1 parent 752ce23 commit b55fbc3

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/ImportExport/Model/Resource/Helper

1 file changed

+1
-1
lines changed

app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getNextAutoincrement($tableName)
7070
$entityStatus = $connection->fetchRow($sql);
7171
if (empty($entityStatus['AUTO_INCREMENT']))
7272
{
73-
throw new \Magento\Framework\Exception\LocalizedException(__('Cannot get autoincrement value'));
73+
Mage::throwException(Mage::helper('importexport')->__('Cannot get autoincrement value'));
7474
}
7575

7676
return $entityStatus['AUTO_INCREMENT'];

0 commit comments

Comments
 (0)