Skip to content

Commit

Permalink
fixup! enh(sharing): enable unsharing for sharees for DAV shares (add…
Browse files Browse the repository at this point in the history
…ressbooks and calendars)
  • Loading branch information
miaulalala committed Feb 15, 2024
1 parent 84464a9 commit 9ac230e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/Sharing/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class Service extends SharingService {
protected string $resourceType = 'calendar';
public function __construct(SharingMapper $mapper) {
public function __construct(protected SharingMapper $mapper) {
parent::__construct($mapper);
}
}
2 changes: 1 addition & 1 deletion apps/dav/lib/CardDAV/Sharing/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class Service extends SharingService {
protected string $resourceType = 'addressbook';
public function __construct(SharingMapper $mapper) {
public function __construct(protected SharingMapper $mapper) {
parent::__construct($mapper);
}
}
2 changes: 1 addition & 1 deletion apps/dav/lib/DAV/Sharing/SharingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

abstract class SharingService {
protected string $resourceType = '';
public function __construct(private SharingMapper $mapper) {
public function __construct(protected SharingMapper $mapper) {
}

public function getResourceType(): string {
Expand Down

0 comments on commit 9ac230e

Please sign in to comment.