Skip to content

Conversation

@shimonewman
Copy link
Contributor

fix delete cache file to dbp-master

{
$this->deleteForProjectIds(function (Document $project) use ($datetime) {

$projectId = $project->getId();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did we remove this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are passing the $project already to $dbForProject = $this->getProjectDB($project);
so we use $project->getId() instad of $projectId

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But $projectId was equal to $project->getId()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants