Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing deprecated DataObject::setComponent()

This is not used internally any longer
  • Loading branch information...
commit 5f852ae7bc2e8a34af490dce1300aea76674f909 1 parent 3108dea
@halkyon halkyon authored
Showing with 0 additions and 14 deletions.
  1. +0 −14 model/DataObject.php
View
14 model/DataObject.php
@@ -1455,20 +1455,6 @@ public function getRemoteJoinField($component, $type = 'has_many') {
}
/**
- * 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
* @return ManyManyList The set of components
Please sign in to comment.
Something went wrong with that request. Please try again.