Merge pull request #26914 from nextcloud/fix/caldav-get-shares-unused-param

Drop the unused second parameter on \OCA\DAV\CalDAV\CalDavBackend::getShares
This commit is contained in:
Christoph Wurst 2021-05-07 14:59:47 +02:00 committed by GitHub
commit 6a14f82c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -2550,10 +2550,9 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
/**
* @param int $resourceId
* @param int $calendarType
* @return array
*/
public function getShares($resourceId, $calendarType = self::CALENDAR_TYPE_CALENDAR) {
public function getShares($resourceId) {
return $this->calendarSharingBackend->getShares($resourceId);
}