Skip to content
Snippets Groups Projects
Commit 98558e92 authored by Yas Naoi's avatar Yas Naoi Committed by Yas Naoi
Browse files

Issue #3219506 by yas: Use KernelEvent::isMainRequest() instead of deprecated...

Issue #3219506 by yas: Use KernelEvent::isMainRequest() instead of deprecated KernelEvent::isMasterRequest()
parent 4716e0a3
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ class AwsCloudSubscriber extends CloudServiceBase implements EventSubscriberInte
];
if (in_array($this->routeMatch->getRouteName(), $route_names)) {
// Return if not a master request.
if (!$event->isMasterRequest()) {
if (!$event->isMainRequest()) {
return;
}
......
......@@ -98,7 +98,7 @@ class CloudSubscriber extends CloudServiceBase implements EventSubscriberInterfa
if (in_array($this->routeMatch->getRouteName(), $route_names)) {
// Return if not a master request.
if (!$event->isMasterRequest()) {
if (!$event->isMainRequest()) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment