[!!!][TASK] Remove non-route variants for BE calls
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Backend / Shortcut / ShortcutRepository.php
index b54a281..8baae1e 100644 (file)
@@ -747,11 +747,6 @@ class ShortcutRepository
             }
         }
 
-        if (isset($parameters['M']) && empty($parameters['route'])) {
-            $parameters['route'] = $parameters['M'];
-            unset($parameters['M']);
-        }
-
         if (strpos($parsedUrl['path'], 'index.php') !== false && isset($parameters['route'])) {
             $routePath = $parameters['route'];
             /** @var \TYPO3\CMS\Backend\Routing\Router $router */