mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Removed DataObject->getLastWriteFields(), use DataObject->getChangedFields()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64375 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
df19769fd1
commit
62861b091b
@ -81,13 +81,6 @@ class DataObject extends ViewableData implements DataObjectInterface {
|
||||
*/
|
||||
protected $components;
|
||||
|
||||
/**
|
||||
* DEPRECATED
|
||||
*
|
||||
* @var array List of fields and their old values before the last write.
|
||||
*/
|
||||
protected $lastWriteFields;
|
||||
|
||||
/**
|
||||
* True if this DataObject has been destroyed.
|
||||
* @var boolean
|
||||
@ -826,15 +819,6 @@ class DataObject extends ViewableData implements DataObjectInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all fields that written in the last write()-call
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getLastWriteFields() {
|
||||
return $this->lastWriteFields;
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a write without affecting the version table.
|
||||
* On objects without versioning.
|
||||
|
Loading…
x
Reference in New Issue
Block a user