From 76e5bce8014b5627de25b394b0298a9a27317e4a Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Fri, 7 Dec 2012 22:24:45 +0100 Subject: [PATCH] no need to set the compiled route to null when cloning --- src/Symfony/Component/Routing/Route.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Symfony/Component/Routing/Route.php b/src/Symfony/Component/Routing/Route.php index 38fc3f494a..281dedff13 100644 --- a/src/Symfony/Component/Routing/Route.php +++ b/src/Symfony/Component/Routing/Route.php @@ -76,11 +76,6 @@ class Route implements \Serializable $this->setHostnamePattern($hostnamePattern); } - public function __clone() - { - $this->compiled = null; - } - public function serialize() { return serialize(array(