Skip to content

Commit

Permalink
[DoctrineBundle] tweaked previous merge
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Sep 30, 2011
1 parent 4790a5e commit 87416b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php
Expand Up @@ -68,12 +68,12 @@ class_exists('Doctrine\ORM\Mapping\Driver\AnnotationDriver');
}
}
}
}

clearstatcache($file);

if (!file_exists($file)) {
throw new \RuntimeException(sprintf('The proxy file "%s" does not exist. If you still have objects serialized in the session, you need to clear the session manually.', $file));
clearstatcache($file);

if (!file_exists($file)) {
throw new \RuntimeException(sprintf('The proxy file "%s" does not exist. If you still have objects serialized in the session, you need to clear the session manually.', $file));
}
}

require $file;
Expand Down

0 comments on commit 87416b4

Please sign in to comment.