Fixed extraStatics usage

This commit is contained in:
Ingo Schommer 2013-03-19 09:44:15 +01:00
parent 3c5ed2e866
commit 2f0a629df1
1 changed files with 4 additions and 7 deletions

View File

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