Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #55 from gperdomor/hotfix/master-request
Browse files Browse the repository at this point in the history
Fix event listener
  • Loading branch information
Cédric Girard committed May 9, 2016
2 parents 23c3cea + 4fe22c3 commit 718a655
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Listener/MaintenanceListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ public function __construct(
*/
public function onKernelRequest(GetResponseEvent $event)
{
if(!$event->isMasterRequest()){
return;
}

$request = $event->getRequest();

if (is_array($this->query)) {
Expand Down

0 comments on commit 718a655

Please sign in to comment.