Skip to content

Commit

Permalink
remove unused access variable in hasPublicLink method
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hartmann <[email protected]>
  • Loading branch information
Chartman123 committed Jan 7, 2025
1 parent ab3bd5f commit 2ea7409
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Service/FormsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ public function canSubmit(Form $form): bool {
* @return boolean
*/
private function hasPublicLink(Form $form): bool {
$access = $form->getAccess();

$shareEntities = $this->shareMapper->findByForm($form->getId());
foreach ($shareEntities as $shareEntity) {
if ($shareEntity->getShareType() === IShare::TYPE_LINK) {
Expand Down

0 comments on commit 2ea7409

Please sign in to comment.