We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5679f4c commit 9a8d7d6Copy full SHA for 9a8d7d6
Observer/Controller/ActionPredispatch.php
@@ -87,15 +87,13 @@ public function execute(
87
return; // It's ajax request
88
}
89
90
- $time = $this->date->gmtTimestamp();
91
- if ($this->backendSession->getLastMfNtfCheck() > $time - self::TIMEOUT) {
92
- return; // It's not time
+ if ($observer->getRequest()->getMethod() == 'POST') {
+ return; // It's post request
93
94
95
$this->checkCacheTypes();
96
$this->checkReviews();
97
98
- $this->backendSession->setLastMfNtfCheck($time);
99
100
101
/**
@@ -140,4 +138,4 @@ protected function checkReviews()
140
138
);
141
139
142
143
-}
+}
0 commit comments