removed docblock for isNoCache

This commit is contained in:
Brikou CARRE 2011-05-23 01:37:10 -07:00
parent 2648ff273e
commit 9908d51da8

View File

@ -770,11 +770,6 @@ class Request
return preg_split('/\s*,\s*/', $this->headers->get('if_none_match'), null, PREG_SPLIT_NO_EMPTY); return preg_split('/\s*,\s*/', $this->headers->get('if_none_match'), null, PREG_SPLIT_NO_EMPTY);
} }
/**
* Checks whether cached response must be successfully revalidated by the origin server.
*
* @return Boolean
*/
public function isNoCache() public function isNoCache()
{ {
return $this->headers->hasCacheControlDirective('no-cache') || 'no-cache' == $this->headers->get('Pragma'); return $this->headers->hasCacheControlDirective('no-cache') || 'no-cache' == $this->headers->get('Pragma');