Skip to content

Commit

Permalink
Revert "Merge branch 'fix/#6499-#6533-fix-commit-order-calculation-co…
Browse files Browse the repository at this point in the history
…nsider-all-join-column-fields'"

This reverts commit 2a58645, reversing
changes made to 6d428c9.
  • Loading branch information
Ocramius committed Aug 11, 2017
1 parent 2a58645 commit a0c0d3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 101 deletions.
6 changes: 1 addition & 5 deletions lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,11 +1154,7 @@ private function getCommitOrder(array $entityChangeSet = null)

$joinColumns = reset($assoc['joinColumns']);

$calc->addDependency(
$targetClass->name,
$class->name,
(int) (($joinColumns['nullable'] ?? true) === false)
);
$calc->addDependency($targetClass->name, $class->name, (int)empty($joinColumns['nullable']));

// If the target class has mapped subclasses, these share the same dependency.
if ( ! $targetClass->subClasses) {
Expand Down
96 changes: 0 additions & 96 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC6499Test.php

This file was deleted.

0 comments on commit a0c0d3b

Please sign in to comment.