Skip to content

Commit 4ff6893

Browse files
committed
MAGETWO-99401: order-related save_after_commit callbacks are not called for guest checkouts
1 parent d2687e8 commit 4ff6893

File tree

1 file changed

+10
-12
lines changed
  • lib/internal/Magento/Framework/Config

1 file changed

+10
-12
lines changed

lib/internal/Magento/Framework/Config/Scope.php

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
*/
66
namespace Magento\Framework\Config;
77

8-
class Scope implements \Magento\Framework\Config\ScopeInterface, \Magento\Framework\Config\ScopeListInterface
9-
{
10-
/**
11-
* Default application scope
12-
*
13-
* @var string
14-
*/
15-
protected $_defaultScope;
8+
use Magento\Framework\App\AreaList;
169

10+
/**
11+
* Scope config
12+
*/
13+
class Scope implements ScopeInterface, ScopeListInterface
14+
{
1715
/**
1816
* Current config scope
1917
*
@@ -24,19 +22,19 @@ class Scope implements \Magento\Framework\Config\ScopeInterface, \Magento\Framew
2422
/**
2523
* List of all available areas
2624
*
27-
* @var \Magento\Framework\App\AreaList
25+
* @var AreaList
2826
*/
2927
protected $_areaList;
3028

3129
/**
3230
* Constructor
3331
*
34-
* @param \Magento\Framework\App\AreaList $areaList
32+
* @param AreaList $areaList
3533
* @param string $defaultScope
3634
*/
37-
public function __construct(\Magento\Framework\App\AreaList $areaList, $defaultScope = 'primary')
35+
public function __construct(AreaList $areaList, $defaultScope = 'primary')
3836
{
39-
$this->_defaultScope = $this->_currentScope = $defaultScope;
37+
$this->_currentScope = $defaultScope;
4038
$this->_areaList = $areaList;
4139
}
4240

0 commit comments

Comments
 (0)