Commit 748ef5bb authored by alexpott's avatar alexpott

Issue #2334785 by znerol: Remove _maintenance request attribute from...

Issue #2334785 by znerol: Remove _maintenance request attribute from SpecialAttributesRouteSubscriber.
parent e2061901
......@@ -24,7 +24,6 @@ class SpecialAttributesRouteSubscriber extends RouteSubscriberBase {
protected function alterRoutes(RouteCollection $collection) {
$special_variables = array(
'system_path',
'_maintenance',
'_legacy',
'_authentication_provider',
'_raw_variables',
......
......@@ -45,7 +45,6 @@ protected function setUp() {
public function providerTestOnRouteBuildingInvalidVariables() {
$routes = array();
$routes[] = array(new Route('/test/{system_path}'));
$routes[] = array(new Route('/test/{_maintenance}'));
$routes[] = array(new Route('/test/{_legacy}'));
$routes[] = array(new Route('/test/{_authentication_provider}'));
$routes[] = array(new Route('/test/{' . RouteObjectInterface::ROUTE_OBJECT . '}'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment