mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Fixed extraStatics usage
This commit is contained in:
parent
3c5ed2e866
commit
2f0a629df1
@ -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(
|
||||
static $db = array(
|
||||
'TranslatableDecoratedProperty' => 'Text'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class TranslatableTest_Page extends Page implements TestOnly {
|
||||
|
Loading…
Reference in New Issue
Block a user