Skip to content

Commit

Permalink
Merge pull request #3185 from magento-plankton/2.2-develop-merged
Browse files Browse the repository at this point in the history
[Plankton] Magento 2.2.6 Publication
  • Loading branch information
Alexander Akimov authored Sep 20, 2018
2 parents 50a4da0 + 54ed945 commit 1804146
Show file tree
Hide file tree
Showing 240 changed files with 3,581 additions and 7,080 deletions.
497 changes: 497 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/code/Magento/AdminNotification/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lib-libxml": "*"
},
"type": "magento2-module",
"version": "100.2.3",
"version": "100.2.4",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/AdvancedPricingImportExport/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.3",
"version": "100.2.4",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Analytics/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.2",
"version": "100.2.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Authorization/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.1",
"version": "100.2.2",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Authorizenet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"magento/module-config": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.1",
"version": "100.2.2",
"license": [
"proprietary"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,28 @@
namespace Magento\Backend\Controller\Adminhtml\System\Store;

use Magento\Framework\Controller\ResultFactory;
use Magento\Framework\App\Request\Http as HttpRequest;
use Magento\Framework\Exception\NotFoundException;

class DeleteGroupPost extends \Magento\Backend\Controller\Adminhtml\System\Store
{
/**
* @return \Magento\Backend\Model\View\Result\Redirect
* @throws NotFoundException
*/
public function execute()
{
$itemId = $this->getRequest()->getParam('item_id');

/** @var HttpRequest $request */
$request = $this->getRequest();
/** @var \Magento\Backend\Model\View\Result\Redirect $redirectResult */
$redirectResult = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$redirectResult = $this->resultFactory->create(
ResultFactory::TYPE_REDIRECT
);
if (!$request->isPost()) {
throw new NotFoundException(__('Page not found.'));
}

$itemId = $request->getParam('item_id');
if (!($model = $this->_objectManager->create(\Magento\Store\Model\Group::class)->load($itemId))) {
$this->messageManager->addErrorMessage(__('Something went wrong. Please try again.'));
return $redirectResult->setPath('adminhtml/*/');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,31 @@
*/
namespace Magento\Backend\Controller\Adminhtml\System\Store;

use Magento\Framework\App\Request\Http as HttpRequest;
use Magento\Framework\Controller\ResultFactory;
use Magento\Framework\Exception\NotFoundException;

class DeleteStorePost extends \Magento\Backend\Controller\Adminhtml\System\Store
{
/**
* Delete store view post action
*
* @return \Magento\Backend\Model\View\Result\Redirect
* @throws NotFoundException
*/
public function execute()
{
$itemId = $this->getRequest()->getParam('item_id');

/** @var HttpRequest $request */
$request = $this->getRequest();
/** @var \Magento\Backend\Model\View\Result\Redirect $redirectResult */
$redirectResult = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$redirectResult = $this->resultFactory->create(
ResultFactory::TYPE_REDIRECT
);
if (!$request->isPost()) {
throw new NotFoundException(__('Page not found.'));
}

$itemId = $request->getParam('item_id');
if (!($model = $this->_objectManager->create(\Magento\Store\Model\Store::class)->load($itemId))) {
$this->messageManager->addErrorMessage(__('Something went wrong. Please try again.'));
return $redirectResult->setPath('adminhtml/*/');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,30 @@
namespace Magento\Backend\Controller\Adminhtml\System\Store;

use Magento\Framework\Controller\ResultFactory;
use Magento\Framework\App\Request\Http as HttpRequest;
use Magento\Framework\Exception\NotFoundException;

class DeleteWebsitePost extends \Magento\Backend\Controller\Adminhtml\System\Store
{
/**
* @return \Magento\Backend\Model\View\Result\Redirect
* @throws NotFoundException
*/
public function execute()
{
$itemId = $this->getRequest()->getParam('item_id');
$model = $this->_objectManager->create(\Magento\Store\Model\Website::class);
$model->load($itemId);

/** @var HttpRequest $request */
$request = $this->getRequest();
/** @var \Magento\Backend\Model\View\Result\Redirect $redirectResult */
$redirectResult = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$redirectResult = $this->resultFactory->create(
ResultFactory::TYPE_REDIRECT
);
if (!$request->isPost()) {
throw new NotFoundException(__('Page not found.'));
}

$itemId = $request->getParam('item_id');
$model = $this->_objectManager->create(\Magento\Store\Model\Website::class);
$model->load($itemId);
if (!$model) {
$this->messageManager->addErrorMessage(__('Something went wrong. Please try again.'));
return $redirectResult->setPath('adminhtml/*/');
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"magento/module-theme": "100.2.*"
},
"type": "magento2-module",
"version": "100.2.5",
"version": "100.2.6",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<% if (data.items.length) { %>
<% _.each(data.items, function(value){ %>
<li class="item"
<%- data.optionData(value) %>
<%= data.optionData(value) %>
>
<a href="<%- value.url %>" class="title"><%- value.name %></a>
<span class="type"><%- value.type %></span>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backup/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.4",
"version": "100.2.5",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Braintree/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"magento/module-theme": "100.2.*"
},
"type": "magento2-module",
"version": "100.2.5",
"version": "100.2.6",
"license": [
"proprietary"
],
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Bundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"magento/module-sales-rule": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.4",
"version": "100.2.5",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/BundleImportExport/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.2",
"version": "100.2.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CacheInvalidate/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.1",
"version": "100.2.2",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Captcha/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"zendframework/zend-session": "^2.7.3"
},
"type": "magento2-module",
"version": "100.2.2",
"version": "100.2.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
Loading

0 comments on commit 1804146

Please sign in to comment.