Commit f811963b by Vladislav

Исправление

1 parent e02db9ea
......@@ -132,6 +132,10 @@ class DictionaryCampaignsSyncByCampaign extends Command
WHERE gk.keyword_id is null
");
DictionaryCampaign::needSynced()->update([
'synced_need' => null,
]);
return 0;
}
}
......@@ -230,7 +230,7 @@ class Tokens extends Model
public function dictionaryCampaignsEnabledForExternalSynchronized()
{
return $this->dictionaryCampaigns()->enabled()->forExternal()->notNeedSynced()->synchronized();
return $this->dictionaryCampaigns()->enabled()->forExternal()->synchronized();
}
public function dictionaryCampaignsEnabledForExternalSynchronizedUpdatedSelf()
......@@ -240,7 +240,7 @@ class Tokens extends Model
public function dictionaryCampaignsEnabledForExternalSynchronizedUpdatedChildren()
{
return $this->dictionaryCampaigns()->enabled()->forExternal()->notNeedSynced()->synchronized()->forUpdatedChildren();
return $this->dictionaryCampaigns()->enabled()->forExternal()->synchronized()->forUpdatedChildren();
}
public function campaignsForManaged()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!