Skip to content

Commit 45baf50

Browse files
author
Sergey Semenov
committed
MAGETWO-59966: [SWAT][Magento Cloud] - Cache-miss when Fastly is enabled
1 parent 3dd4a0b commit 45baf50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Theme/Controller/Result/MessagePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function afterRenderResult(
108108
* @param array $messages List of Magento messages that must be set as 'mage-messages' cookie.
109109
* @return void
110110
*/
111-
protected function setCookie(array $messages)
111+
private function setCookie(array $messages)
112112
{
113113
if (!empty($messages)) {
114114
$publicCookieMetadata = $this->cookieMetadataFactory->createPublicCookieMetadata();

0 commit comments

Comments
 (0)