merged branch axhm3a/master (PR #8752)

This PR was merged into the master branch.

Discussion
----------

removed legacy artifact from Component/Routing/Router

Hey,

while using the ConfigCache component I noticed that there is a wrong call of isFresh() in Symfony\Component\Routing\Router. ConfigCache->isFresh() doesn't accept any parameters anymore.

cheers,

Daniel

Commits
-------

8b11ae7 removed legacy artifact from Component/Routing/Router
This commit is contained in:
Fabien Potencier 2013-08-14 15:01:05 +02:00
commit 6526da88df

View File

@ -234,7 +234,7 @@ class Router implements RouterInterface
$class = $this->options['matcher_cache_class'];
$cache = new ConfigCache($this->options['cache_dir'].'/'.$class.'.php', $this->options['debug']);
if (!$cache->isFresh($class)) {
if (!$cache->isFresh()) {
$dumper = $this->getMatcherDumperInstance();
$options = array(