Skip to content

Commit 8dbd5cd

Browse files
committed
Last few fixes, localized exception, remove unused import
1 parent 4cc9006 commit 8dbd5cd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Block/Adminhtml/System/Config/Form/Field/MiscScript.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function addColumn($name, $params)
132132
public function renderCellTemplate($columnName)
133133
{
134134
if (empty($this->_columns[$columnName])) {
135-
throw new LocalizedException('Wrong column name specified.');
135+
throw new LocalizedException(__('Wrong column name specified.'));
136136
}
137137
$column = $this->_columns[$columnName];
138138
$inputName = $this->_getCellInputElementName($columnName);

Block/Adminhtml/System/Config/Form/Module/Version.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Magento\Backend\Block\Template\Context;
1111
use Magento\Config\Block\System\Config\Form\Field;
1212
use Magento\Framework\Data\Form\Element\AbstractElement;
13-
use Magento\Framework\Exception\LocalizedException;
1413
use Magento\Framework\Module\ModuleListInterface;
1514

1615
/**

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"magepal/magento2-preview-checkout-success-page":"Preview checkout success page from admin"
2222
},
2323
"type": "magento2-module",
24-
"version": "1.1.9",
24+
"version": "1.1.10",
2525
"license": [
2626
"proprietary"
2727
],

0 commit comments

Comments
 (0)