Unused code in the finding aid generation: $exportLangauge variable not used
|Assignee:||Dan Gillean||% Done:|
|Target version:||Release 2.5.0|
|Google Code Legacy ID:||Tested version:||2.4, 2.5|
First reported by a community user via GitHub issues, 2018-02-07: https://github.com/artefactual/atom/issues/663
// Determine language(s) used in the export $exportLanguage = sfContext::getInstance()->user->getCulture(); $sourceLanguage = $this->resource->getSourceCulture();
It appears that the $exportLanguage variable being set here is not used elsewhere in the finding aid generation process. This dead code can be removed, or the finding aid generation code could be refactored to better support i18n use cases.