From 56e3e556be6f092e07dc8a6930d01547d94f27eb Mon Sep 17 00:00:00 2001 From: Olexii Korshenko Date: Tue, 28 Jul 2015 13:10:49 +0300 Subject: [PATCH] MAGETWO-40559: [GITHUB] 1.0.0 Beta 1 JS Error when click 'Go to Checkout' button #1508 --- .../Customer/Autentication/ConfigPlugin.php | 37 ------------------- app/code/Magento/Checkout/etc/frontend/di.xml | 4 -- .../frontend/templates/onepage/link.phtml | 2 +- .../frontend/web/js/proceed-to-checkout.js | 2 +- 4 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 app/code/Magento/Checkout/Model/Customer/Autentication/ConfigPlugin.php diff --git a/app/code/Magento/Checkout/Model/Customer/Autentication/ConfigPlugin.php b/app/code/Magento/Checkout/Model/Customer/Autentication/ConfigPlugin.php deleted file mode 100644 index 834942a4d0719..0000000000000 --- a/app/code/Magento/Checkout/Model/Customer/Autentication/ConfigPlugin.php +++ /dev/null @@ -1,37 +0,0 @@ -urlBuilder = $urlBuilder; - } - - /** - * @param \Magento\Customer\Block\Account\AuthenticationPopup $subject - * @param array $result - * @return array - * - * @SuppressWarnings(PHPMD.UnusedFormalParameter) - */ - public function afterGetConfig( - \Magento\Customer\Block\Account\AuthenticationPopup $subject, - array $result - ) { - $result['checkoutUrl'] = $this->urlBuilder->getUrl('checkout'); - return $result; - } -} diff --git a/app/code/Magento/Checkout/etc/frontend/di.xml b/app/code/Magento/Checkout/etc/frontend/di.xml index d0fa0a402b7e0..7afa91b1a8bbd 100644 --- a/app/code/Magento/Checkout/etc/frontend/di.xml +++ b/app/code/Magento/Checkout/etc/frontend/di.xml @@ -18,10 +18,6 @@ - - - diff --git a/app/code/Magento/Checkout/view/frontend/templates/onepage/link.phtml b/app/code/Magento/Checkout/view/frontend/templates/onepage/link.phtml index 72b8a5bf5023a..04a295afdce88 100644 --- a/app/code/Magento/Checkout/view/frontend/templates/onepage/link.phtml +++ b/app/code/Magento/Checkout/view/frontend/templates/onepage/link.phtml @@ -10,7 +10,7 @@