Skip to content

Commit

Permalink
#579 - Remove support for deprecated X-Flush-Response and tmpl query var
Browse files Browse the repository at this point in the history
  • Loading branch information
johanjanssens committed Dec 20, 2021
1 parent e2346d2 commit 0b00e64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function getDecorator()
$request = $this->getRequest();
$response = $this->getResponse();

if($request->getQuery()->tmpl === 'koowa' || $request->getHeaders()->has('X-Flush-Response') || $response->isError()) {
if($response->isError()) {
$result = 'koowa';
} else {
$result = $this->getController()->getView()->getDecorator();
Expand Down

0 comments on commit 0b00e64

Please sign in to comment.