Skip to content

Commit

Permalink
cs-fix to calm tests
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <github@dartcafe.de>
  • Loading branch information
dartcafe committed Nov 28, 2023
1 parent daed792 commit 2630cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/VoteService.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function set(int $optionId, string $setTo, ?Acl $acl = null): ?Vote {

if ($acl) {
$this->acl = $acl; // ->setToken($token, Acl::PERMISSION_VOTE_EDIT, $option->getPollId());
// $this->acl->setToken($token, Acl::PERMISSION_VOTE_EDIT, $option->getPollId());
// $this->acl->setToken($token, Acl::PERMISSION_VOTE_EDIT, $option->getPollId());
} else {
$this->acl->setPollId($option->getPollId(), Acl::PERMISSION_VOTE_EDIT);
}
Expand Down

0 comments on commit 2630cfa

Please sign in to comment.