Removed uncommented code

This commit is contained in:
Simon Sessingø
2016-11-17 04:00:59 +01:00
parent 73ee4521bc
commit 9ba531d559
-18
View File
@@ -19,25 +19,7 @@ abstract class LoadableRoute extends RouterEntry implements ILoadableRoute {
* @return static * @return static
*/ */
public function setUrl($url) { public function setUrl($url) {
$this->url = '/' . trim($url, '/') . '/'; $this->url = '/' . trim($url, '/') . '/';
/*$this->originalUrl = $this->url;
if(preg_match_all('/' . static::PARAMETERS_REGEX_MATCH . '/is', $this->url, $matches)) {
$parameters = $matches[1];
if (count($parameters)) {
foreach (array_keys($parameters) as $key) {
$parameters[$key] = null;
}
$this->settings['parameters'] = $parameters;
}
}*/
return $this; return $this;
} }