"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/AbstractSurrogate.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

AbstractSurrogate.php  (phplist-3.4.5.tgz):AbstractSurrogate.php  (phplist-3.4.6.tgz)
skipping to change at line 112 skipping to change at line 112
return $response->getContent(); return $response->getContent();
} catch (\Exception $e) { } catch (\Exception $e) {
if ($alt) { if ($alt) {
return $this->handle($cache, $alt, '', $ignoreErrors); return $this->handle($cache, $alt, '', $ignoreErrors);
} }
if (!$ignoreErrors) { if (!$ignoreErrors) {
throw $e; throw $e;
} }
} }
return '';
} }
/** /**
* Remove the Surrogate from the Surrogate-Control header. * Remove the Surrogate from the Surrogate-Control header.
*/ */
protected function removeFromControl(Response $response) protected function removeFromControl(Response $response)
{ {
if (!$response->headers->has('Surrogate-Control')) { if (!$response->headers->has('Surrogate-Control')) {
return; return;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)