diff --git a/lib/Db/TokensRequest.php b/lib/Db/TokensRequest.php index 96254e887..627f0433e 100644 --- a/lib/Db/TokensRequest.php +++ b/lib/Db/TokensRequest.php @@ -114,7 +114,6 @@ public function generateTokenForMember(DeprecatedMember $member, int $shareId, s ->setValue('token', $qb->createNamedParameter($token)) ->setValue('password', $qb->createNamedParameter($password)); - $qb->execute(); $qb->executeStatement(); } catch (DbalException $e) { if ($e->getReason() !== DbalException::REASON_UNIQUE_CONSTRAINT_VIOLATION) {