Commit baa66d85 authored by alexpott's avatar alexpott

Issue #2350499 by stephr: Fixed Double message after content translations saved.

parent c52c5f9a
......@@ -338,6 +338,4 @@ function content_translation_form_language_content_settings_submit(array $form,
// Ensure entity and menu router information are correctly rebuilt.
\Drupal::entityManager()->clearCachedDefinitions();
\Drupal::service('router.builder')->setRebuildNeeded();
drupal_set_message(t('Settings successfully updated.'));
}
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