Skip to content

Commit 6d99f38

Browse files
committed
Update app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php
1 parent 140b0fb commit 6d99f38

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
@@ -63,7 +63,7 @@ public function getNextAutoincrement($tableName)
6363
$entityStatus = $connection->fetchRow($sql);
6464
if (empty($entityStatus['AUTO_INCREMENT']))
6565
{
66-
throw new \Magento\Framework\Exception\LocalizedException(__('Cannot get autoincrement value'));
66+
Mage::throwException(Mage::helper('importexport')->__('Cannot get autoincrement value'));
6767
}
6868

6969
return $entityStatus['AUTO_INCREMENT'];

0 commit comments

Comments
 (0)