Skip to content

Commit

Permalink
Merge pull request #2478 from nextcloud/chore/remove-unused-symbol
Browse files Browse the repository at this point in the history
chore: remove unused access variable in hasPublicLink method
  • Loading branch information
Chartman123 authored Jan 8, 2025
2 parents ab3bd5f + 2ea7409 commit f812141
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 f812141

Please sign in to comment.