ENH Update DataObject::delete() docblock

This commit is contained in:
Steve Boyd 2024-02-09 10:44:55 +13:00
parent e87c724700
commit a1cd5337ca

View File

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