[HttpFoundation] Removed remove recurring test

This commit is contained in:
Pascal Borreli 2011-03-01 17:24:59 +01:00
parent 57d0d3fe2f
commit ff44b0ff28

View File

@ -46,7 +46,7 @@ class ContentTypeMimeTypeGuesser implements MimeTypeGuesserInterface
throw new AccessDeniedException($path); throw new AccessDeniedException($path);
} }
if (!self::isSupported() || !is_readable($path)) { if (!self::isSupported()) {
return null; return null;
} }