Removing deprecated DataObject::setComponent()

This is not used internally any longer
This commit is contained in:
Sean Harvey 2012-11-15 11:46:57 +13:00
parent 3108dea2c2
commit 5f852ae7bc

View File

@ -1454,20 +1454,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
return 'ParentID';
}
/**
* Sets the component of a relationship.
* This should only need to be called internally,
* and is mainly due to the caching logic in {@link getComponents()}
* and {@link getManyManyComponents()}.
*
* @param string $componentName Name of the component
* @param DataObject|HasManyList|ManyManyList $componentValue Value of the component
* @deprecated 3.0 Not used internally anymore.
*/
public function setComponent($componentName, $componentValue) {
Deprecation::notice('3.0', 'Not used internally anymore.');
}
/**
* Returns a many-to-many component, as a ManyManyList.
* @param string $componentName Name of the many-many component