File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
app/code/Magento/Store/Model
lib/internal/Magento/Framework/App/Request Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 17
17
use Magento \Framework \DataObject \IdentityInterface ;
18
18
use Magento \Framework \Filesystem ;
19
19
use Magento \Framework \Model \AbstractExtensibleModel ;
20
+ use Magento \Framework \ObjectManager \ResetAfterRequestInterface ;
20
21
use Magento \Framework \Url \ModifierInterface ;
21
22
use Magento \Framework \Url \ScopeInterface as UrlScopeInterface ;
22
23
use Magento \Framework \UrlInterface ;
@@ -43,7 +44,8 @@ class Store extends AbstractExtensibleModel implements
43
44
AppScopeInterface,
44
45
UrlScopeInterface,
45
46
IdentityInterface,
46
- StoreInterface
47
+ StoreInterface,
48
+ ResetAfterRequestInterface
47
49
{
48
50
/**
49
51
* Store Id key name
@@ -1421,4 +1423,17 @@ public function __debugInfo()
1421
1423
{
1422
1424
return [];
1423
1425
}
1426
+
1427
+ /**
1428
+ * @inheritDoc
1429
+ */
1430
+ public function _resetState (): void
1431
+ {
1432
+ $ this ->_baseUrlCache = [];
1433
+ $ this ->_configCache = null ;
1434
+ $ this ->_configCacheBaseNodes = [];
1435
+ $ this ->_dirCache = [];
1436
+ $ this ->_urlCache = [];
1437
+ $ this ->_baseUrlCache = [];
1438
+ }
1424
1439
}
Original file line number Diff line number Diff line change @@ -458,5 +458,6 @@ public function _resetState(): void
458
458
$ this ->headers = null ;
459
459
$ this ->metadata = [];
460
460
$ this ->content = '' ;
461
+ $ this ->distroBaseUrl = null ;
461
462
}
462
463
}
You can’t perform that action at this time.
0 commit comments