Fixed extraStatics usage

This commit is contained in:
Ingo Schommer 2013-03-19 09:44:15 +01:00
parent 3c5ed2e866
commit 2f0a629df1

View File

@ -990,13 +990,10 @@ class TranslatableTest_DataObject extends DataObject implements TestOnly {
class TranslatableTest_Extension extends DataExtension implements TestOnly { class TranslatableTest_Extension extends DataExtension implements TestOnly {
function extraStatics($class = null, $extension = null) { static $db = array(
return array(
'db' => array(
'TranslatableDecoratedProperty' => 'Text' 'TranslatableDecoratedProperty' => 'Text'
)
); );
}
} }
class TranslatableTest_Page extends Page implements TestOnly { class TranslatableTest_Page extends Page implements TestOnly {