Change projectId to projectInternalId
This commit is contained in:
parent
9be32184d6
commit
4a3b8fb70e
1 changed files with 3 additions and 3 deletions
|
@ -457,13 +457,13 @@ class Deletes extends Action
|
|||
|
||||
// Delete VCS Repositories and Comments
|
||||
$this->deleteByGroup('repositories', [
|
||||
Query::equal('installationInternalId', [$projectInternalId]),
|
||||
Query::equal('projectInternalId', [$projectInternalId]),
|
||||
], $dbForConsole, function (Document $document) use ($dbForConsole) {
|
||||
$providerRepositoryId = $document->getAttribute('providerRepositoryId', '');
|
||||
$projectId = $document->getAttribute('projectId', '');
|
||||
$projectInternalId = $document->getAttribute('projectInternalId', '');
|
||||
$this->deleteByGroup('vcsComments', [
|
||||
Query::equal('providerRepositoryId', [$providerRepositoryId]),
|
||||
Query::equal('projectId', [$projectId]),
|
||||
Query::equal('projectInternalId', [$projectInternalId]),
|
||||
], $dbForConsole);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue