Commit f798bbcc authored by Berdir's avatar Berdir

Remove unnecessary router rebuild.

parent 126d40cf
......@@ -10,7 +10,6 @@
*/
function default_content_modules_installed($modules) {
// @todo Move this to an event once we have HookEvent.
\Drupal::service('router.builder')->rebuild();
foreach ($modules as $module) {
if (!\Drupal::isConfigSyncing()) {
\Drupal::service('default_content.manager')->importContent($module);
......
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