MINOR Class naming in Translatable (see #4060)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@76737 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-05-13 21:39:32 +00:00
parent 4085b3e654
commit 261ab10e00

View File

@ -1070,7 +1070,7 @@ class Translatable extends DataObjectDecorator {
$origHomepageObj = Translatable::get_one_by_locale( $origHomepageObj = Translatable::get_one_by_locale(
'SiteTree', 'SiteTree',
Translatable::default_locale(), Translatable::default_locale(),
sprintf('"URLSegment" = \'%s\'', RootUrlController::get_default_homepage_urlsegment()) sprintf('"URLSegment" = \'%s\'', RootURLController::get_default_homepage_urlsegment())
); );
if($origHomepageObj) { if($origHomepageObj) {
$translatedHomepageObj = $origHomepageObj->getTranslation($locale); $translatedHomepageObj = $origHomepageObj->getTranslation($locale);