Removing DataObject::getAllFields(), use toMap() instead

This commit is contained in:
Sean Harvey 2012-11-15 11:48:27 +13:00
parent 5f852ae7bc
commit 651d4b3d41

View File

@ -2016,17 +2016,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
return isset($this->record[$field]) ? $this->record[$field] : null;
}
/**
* Return a map of all the fields for this record
* @deprecated 2.4 Use toMap()
*
* @return array A map of field names to field values.
*/
public function getAllFields() {
Deprecation::notice('3.0', 'Use toMap() instead.');
return $this->toMap();
}
/**
* Loads all the stub fields that an initial lazy load didn't load fully.
*