MINOR Changed deprecated extraDBFields() on Subsite decorators to extraStatics()

This commit is contained in:
Sean Harvey 2009-05-20 05:36:14 +00:00
parent cd1433529b
commit d48fed9488
3 changed files with 3 additions and 3 deletions

View File

@ -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(

View File

@ -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(

View File

@ -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(