Skip to content

Commit

Permalink
symfony#27345 Removed unnessasary reduceLifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bennett committed May 24, 2018
1 parent 1a660e6 commit d65fddf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Symfony/Component/Lock/Store/MongoDbStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ public function exists(Key $key)
),
);

$key->reduceLifetime($this->initialTtl);
$doc = $this->getCollection()->findOne($filter);

return $doc && $doc['token'] === $this->getToken($key);
Expand Down

0 comments on commit d65fddf

Please sign in to comment.