From 7b44b070dea078d736d4864947bdafc73844e04d Mon Sep 17 00:00:00 2001 From: Renon Stewart Date: Mon, 2 Sep 2019 07:42:15 -0400 Subject: [PATCH] Add support for Magento 2.3.2 --- .DS_Store | Bin 0 -> 6148 bytes Model/Config/Backend/AccessCode.php | 1 + composer.json | 2 +- etc/adminhtml/system.xml | 8 +++++--- 4 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..aff8f9e213daf89d01a131538ca5da829ba24024 GIT binary patch literal 6148 zcmeHKI|>3Z5S>vG!N$@uSMUZw6zul`7K)9i2wHFDxjdS0K8>z++Q=K2yks&jA+Olk z5fPnVHZzflh>YNda6^$E}G4U=FOTNiu&z1zj(T64dh4#sKB!V{a8+{{x9Jl z`u}GVS5$xs{FMSaSTu_{o|Lt<^Ej)u1-^z`&K+)sxl=HBIR<(;#=^?+)RQ8w*c|&c Vu?=)O;!X$hXTWr!QGs78@Bo+`6@CB! literal 0 HcmV?d00001 diff --git a/Model/Config/Backend/AccessCode.php b/Model/Config/Backend/AccessCode.php index 4dc3dc1..b365e69 100644 --- a/Model/Config/Backend/AccessCode.php +++ b/Model/Config/Backend/AccessCode.php @@ -56,6 +56,7 @@ public function __construct( /** * @return $this + * @throws \Magento\Framework\Exception\LocalizedException */ public function beforeSave() { diff --git a/composer.json b/composer.json index f8a7fa6..1c1c559 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "magepal/magento2-checkout-success-misc-script":"Add miscellaneous HTML and scripts to your checkout success page" }, "type": "magento2-module", - "version": "1.0.7", + "version": "1.0.8", "autoload": { "files": [ "registration.php" diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index ac2b236..22a90ed 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -83,14 +83,16 @@ MagePal\PreviewCheckoutSuccessPage\Block\Adminhtml\System\Config\Form\Field\OrderIncrement - + + MagePal\PreviewCheckoutSuccessPage\Model\Config\Backend\ModifyTimestamp 1 - + + MagePal\PreviewCheckoutSuccessPage\Model\Config\Backend\AccessCode 1 @@ -106,4 +108,4 @@ - \ No newline at end of file +