mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
MINOR Changed deprecated extraDBFields() on Subsite decorators to extraStatics()
This commit is contained in:
parent
cd1433529b
commit
d48fed9488
@ -5,7 +5,7 @@
|
|||||||
* @package subsites
|
* @package subsites
|
||||||
*/
|
*/
|
||||||
class FileSubsites extends DataObjectDecorator {
|
class FileSubsites extends DataObjectDecorator {
|
||||||
function extraDBFields() {
|
function extraStatics() {
|
||||||
// This is hard-coded to be applied to SiteTree, unfortunately
|
// This is hard-coded to be applied to SiteTree, unfortunately
|
||||||
if($this->owner->class == 'File') {
|
if($this->owner->class == 'File') {
|
||||||
return array(
|
return array(
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
class GroupSubsites extends DataObjectDecorator {
|
class GroupSubsites extends DataObjectDecorator {
|
||||||
|
|
||||||
function extraDBFields() {
|
function extraStatics() {
|
||||||
// This is hard-coded to be applied to SiteTree, unfortunately
|
// This is hard-coded to be applied to SiteTree, unfortunately
|
||||||
if($this->owner->class == 'Group') {
|
if($this->owner->class == 'Group') {
|
||||||
return array(
|
return array(
|
||||||
|
@ -27,7 +27,7 @@ class SiteTreeSubsites extends DataObjectDecorator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function extraDBFields() {
|
function extraStatics() {
|
||||||
// This is hard-coded to be applied to SiteTree, unfortunately
|
// This is hard-coded to be applied to SiteTree, unfortunately
|
||||||
if($this->owner->class == 'SiteTree') {
|
if($this->owner->class == 'SiteTree') {
|
||||||
return array(
|
return array(
|
||||||
|
Loading…
Reference in New Issue
Block a user