1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-27 17:49:27 +02:00
php-phpbb/phpBB/phpbb/storage/streamed_response.php
Rubén Calvo 034314c0a1 [ticket/14285] Add comment
PHPBB3-14285
2021-03-21 19:16:30 +01:00

32 lines
673 B
PHP

<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\storage;
use Symfony\Component\HttpFoundation\StreamedResponse;
// Temporal fix for: https://github.com/symfony/symfony/issues/27924
// Fixed 23/7/2018 in symfony v3.4.13
class streamed_response extends StreamedResponse
{
/**
* {@inheritdoc}
*/
public function setNotModified()
{
$this->setCallback(function () {});
return parent::setNotModified();
}
}