We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 752ce23 commit b55fbc3Copy full SHA for b55fbc3
app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php
@@ -70,7 +70,7 @@ public function getNextAutoincrement($tableName)
70
$entityStatus = $connection->fetchRow($sql);
71
if (empty($entityStatus['AUTO_INCREMENT']))
72
{
73
- throw new \Magento\Framework\Exception\LocalizedException(__('Cannot get autoincrement value'));
+ Mage::throwException(Mage::helper('importexport')->__('Cannot get autoincrement value'));
74
}
75
76
return $entityStatus['AUTO_INCREMENT'];
0 commit comments