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 1717use Magento \Framework \DataObject \IdentityInterface ;
1818use Magento \Framework \Filesystem ;
1919use Magento \Framework \Model \AbstractExtensibleModel ;
20+ use Magento \Framework \ObjectManager \ResetAfterRequestInterface ;
2021use Magento \Framework \Url \ModifierInterface ;
2122use Magento \Framework \Url \ScopeInterface as UrlScopeInterface ;
2223use Magento \Framework \UrlInterface ;
@@ -43,7 +44,8 @@ class Store extends AbstractExtensibleModel implements
4344 AppScopeInterface,
4445 UrlScopeInterface,
4546 IdentityInterface,
46- StoreInterface
47+ StoreInterface,
48+ ResetAfterRequestInterface
4749{
4850 /**
4951 * Store Id key name
@@ -1421,4 +1423,17 @@ public function __debugInfo()
14211423 {
14221424 return [];
14231425 }
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+ }
14241439}
Original file line number Diff line number Diff line change @@ -458,5 +458,6 @@ public function _resetState(): void
458458 $ this ->headers = null ;
459459 $ this ->metadata = [];
460460 $ this ->content = '' ;
461+ $ this ->distroBaseUrl = null ;
461462 }
462463}
You can’t perform that action at this time.
0 commit comments