mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Removing deprecated DataObject::databaseFields() and customDatabaseFields()
Use database_fields() and custom_database_fields() instead
This commit is contained in:
parent
e4088feb46
commit
3a198c32d5
@ -2951,24 +2951,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
$this->extend('requireDefaultRecords', $dummy);
|
$this->extend('requireDefaultRecords', $dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Use DataObject::database_fields() instead
|
|
||||||
* @see DataObject::database_fields()
|
|
||||||
*/
|
|
||||||
public function databaseFields() {
|
|
||||||
Deprecation::notice('3.0', 'Use DataObject::database_fields() instead.');
|
|
||||||
return self::database_fields($this->class);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Use DataObject::custom_database_fields() instead
|
|
||||||
* @see DataObject::custom_database_fields()
|
|
||||||
*/
|
|
||||||
public function customDatabaseFields() {
|
|
||||||
Deprecation::notice('3.0', 'Use DataObject::custom_database_fields() instead.');
|
|
||||||
return self::custom_database_fields($this->class);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns fields bu traversing the class heirachy in a bottom-up direction.
|
* Returns fields bu traversing the class heirachy in a bottom-up direction.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user