ENHANCEMENT Added support for specifying target module in i18nEntitityProvider->provideEntities()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@68160 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-12-10 07:12:05 +00:00 committed by Sam Minnee
parent 3f189f3950
commit 8c7eb98f1e

View File

@ -92,6 +92,7 @@ class i18nTextCollector extends Object {
if(!isset($entitiesByModule[$othermodule])) $entitiesByModule[$othermodule] = array();
unset($spec[3]);
$entitiesByModule[$othermodule][$fullName] = $spec;
unset($entitiesByModule[$module][$fullName]);
}
}
}