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 3, 2025
1 parent 7afb7e2 commit 376db64
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 @@ -363,8 +363,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 376db64

Please sign in to comment.