Fix scheduled task entity having the same association twice
It also seems that orphanRemoval doesn't play well with our explicit detachAll logic. [MAILPOET-6047]
This commit is contained in:
committed by
Rostislav Wolný
parent
55416fd2ff
commit
b18bb14ecc
@@ -45,7 +45,7 @@ class ScheduledTaskSubscriberEntity {
|
||||
private $error;
|
||||
|
||||
/**
|
||||
* @ORM\Id @ORM\ManyToOne(targetEntity="MailPoet\Entities\ScheduledTaskEntity", inversedBy="scheduledTaskSubscribers")
|
||||
* @ORM\Id @ORM\ManyToOne(targetEntity="MailPoet\Entities\ScheduledTaskEntity", inversedBy="subscribers")
|
||||
* @var ScheduledTaskEntity|null
|
||||
*/
|
||||
private $task;
|
||||
|
Reference in New Issue
Block a user