diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadata.php b/lib/Doctrine/ORM/Mapping/ClassMetadata.php index 4f4ee006c..3eb6b0b4c 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadata.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadata.php @@ -827,19 +827,18 @@ final class ClassMetadata return isset($this->_columnNames[$fieldName]); } + /** + * + * @param $entity + * @param $field + * @param $value + */ public function setValue($entity, $field, $value) { if (isset($this->_reflectionProperties[$field])) { $this->_reflectionProperties[$field]->setValue($entity, $value); } } - - public function setValueIfChanged($entity, $field, $value) - { - if (isset($this->_reflectionProperties[$field])) { - $this->_reflectionProperties[$field]->setValue($entity, $value); - } - } /** * Gets all field mappings.