mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENH Update DataObject::delete() docblock
This commit is contained in:
parent
e87c724700
commit
a1cd5337ca
@ -1724,7 +1724,8 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
/**
|
/**
|
||||||
* Delete this data object.
|
* Delete this data object.
|
||||||
* $this->onBeforeDelete() gets called.
|
* $this->onBeforeDelete() gets called.
|
||||||
* Note that in Versioned objects, both Stage and Live will be deleted.
|
* Note that in Versioned objects only the record from the draft table will be deleted
|
||||||
|
* If you also wish to delete the record from the live table then use Versioned::doArchive() instead
|
||||||
* @uses DataExtension::augmentSQL()
|
* @uses DataExtension::augmentSQL()
|
||||||
*/
|
*/
|
||||||
public function delete()
|
public function delete()
|
||||||
|
Loading…
Reference in New Issue
Block a user