Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f811963b
authored
Jun 18, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Исправление
1 parent
e02db9ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
app/Console/Commands/DictionaryCampaignsSyncByCampaign.php
app/Models/Tokens.php
app/Console/Commands/DictionaryCampaignsSyncByCampaign.php
View file @
f811963
...
...
@@ -132,6 +132,10 @@ class DictionaryCampaignsSyncByCampaign extends Command
WHERE gk.keyword_id is null
"
);
DictionaryCampaign
::
needSynced
()
->
update
([
'synced_need'
=>
null
,
]);
return
0
;
}
}
app/Models/Tokens.php
View file @
f811963
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment