mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 09:05:59 +00: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 {
|
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user