mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove redundant get_extra_config(). (Fixes #1973)
This commit is contained in:
parent
ac2216dabc
commit
651c968915
@ -145,19 +145,6 @@ class Versioned extends DataExtension {
|
|||||||
$this->defaultStage = reset($stages);
|
$this->defaultStage = reset($stages);
|
||||||
$this->liveStage = array_pop($stages);
|
$this->liveStage = array_pop($stages);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string
|
|
||||||
* @param string
|
|
||||||
* @param array
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public static function get_extra_config($class, $extension, $args) {
|
|
||||||
return array(
|
|
||||||
'has_many' => array('Versions' => $class)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Amend freshly created DataQuery objects with versioned-specific
|
* Amend freshly created DataQuery objects with versioned-specific
|
||||||
|
Loading…
Reference in New Issue
Block a user