Remove the column is_woocommerce_synced

[MAILPOET-3954]
This commit is contained in:
Jan Lysý
2021-11-23 17:55:05 +01:00
committed by Veljko V
parent a78e97d349
commit 00f4913739
2 changed files with 0 additions and 16 deletions

View File

@@ -150,12 +150,6 @@ class SubscriberEntity {
*/
private $woocommerceSyncedAt;
/**
* @ORM\Column(type="boolean")
* @var bool
*/
private $isWoocommerceSynced = false;
/**
* @ORM\OneToMany(targetEntity="MailPoet\Entities\SubscriberSegmentEntity", mappedBy="subscriber", orphanRemoval=true)
* @var Collection<int, SubscriberSegmentEntity>
@@ -472,14 +466,6 @@ class SubscriberEntity {
return $this->woocommerceSyncedAt;
}
public function getIsWoocommerceSynced(): bool {
return $this->isWoocommerceSynced;
}
public function setIsWoocommerceSynced(bool $isWoocommerceSynced): void {
$this->isWoocommerceSynced = $isWoocommerceSynced;
}
/** @ORM\PreFlush */
public function cleanupSubscriberSegments(): void {
// Delete old orphan SubscriberSegments to avoid errors on update