mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 09:06:02 +00:00
MINOR Using DataExtension instead of decorator for 3.0 compat
This commit is contained in:
parent
dd9f2a255d
commit
1a40899d89
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
class FileUploadRole extends DataObjectDecorator{
|
class FileUploadRole extends DataExtension{
|
||||||
function extraStatics() {
|
function extraStatics() {
|
||||||
return array(
|
return array(
|
||||||
'has_one' => array(
|
'has_one' => array(
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class FrameworkTestRole extends DataObjectDecorator {
|
class FrameworkTestRole extends DataExtension {
|
||||||
function extraStatics() {
|
function extraStatics() {
|
||||||
return array(
|
return array(
|
||||||
'has_one' => array(
|
'has_one' => array(
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* The STEP config can be either twostep or threestep where twostep is the default
|
* The STEP config can be either twostep or threestep where twostep is the default
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class CMSWorkflowSiteConfigDecorator extends DataObjectDecorator {
|
class CMSWorkflowSiteConfigDecorator extends DataExtension {
|
||||||
|
|
||||||
static $config_file_path = '';
|
static $config_file_path = '';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user