Commit 1b5434a2 authored by alexpott's avatar alexpott

Issue #2057019 by janstoeckler: Remove Unused local variable $string from...

Issue #2057019 by janstoeckler: Remove Unused local variable $string from /core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php.
parent 251c8d85
......@@ -251,7 +251,7 @@ public function translateString($name, $langcode, $source, $context) {
// If the string has a translation for this context to this language,
// save it in the configuration location so it can be looked up faster
// next time.
$string = $this->localeStorage->createString((array) $translation)
$this->localeStorage->createString((array) $translation)
->addLocation('configuration', $name)
->save();
}
......
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